Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ioctl_cfg80211: Add support for standard RSSI notifications #1122

Merged
merged 1 commit into from Nov 17, 2023

Conversation

bwh-mind
Copy link

@bwh-mind bwh-mind commented Nov 7, 2023

Currently background scanning with wpa_supplicant does not work very well because rtl8812au does not notify it about changes to RSSI. To fix this:

  • Implement the cfg80211_ops::set_cqm_rssi_config operation to set the parameters for RSSI notifications.
  • Add a rtw_cfg80211_cqm_rssi_update() function that calls cfg80211_cqm_rssi_notify() if the RSSI has changed significantly (based on those parameters).
  • When connected in infrastructure mode, call rtw_cfg80211_cqm_rssi_update() after processing a beacon and updating the RSSI.

Currently background scanning with wpa_supplicant does not work very
well because rtl8812au does not notify it about changes to RSSI.  To
fix this:

* Implement the cfg80211_ops::set_cqm_rssi_config operation to set the
  parameters for RSSI notifications.
* Add a rtw_cfg80211_cqm_rssi_update() function that calls
  cfg80211_cqm_rssi_notify() if the RSSI has changed significantly
  (based on those parameters).
* When connected in infrastructure mode, call
  rtw_cfg80211_cqm_rssi_update() after processing a beacon and
  updating the RSSI.

Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
@kimocoder kimocoder merged commit a3e0c0b into aircrack-ng:v5.6.4.2 Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants