path: root/wpa_supplicant/sme.h
diff options
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>2012-05-03 09:13:43 (GMT)
committerJouni Malinen <j@w1.fi>2012-05-03 12:55:38 (GMT)
commitc3701c66a5f57c95b7353688429149e904a9d1df (patch)
tree6cb4261fcd75e7e80b3108cbaacf89af3c89fae6 /wpa_supplicant/sme.h
parent73cdd917a33ebaaed8dca43e16eb5432eb20ccba (diff)
Add handling of OBSS scan requests and 20/40 BSS coex reports
Add support for HT STA to report 40 MHz intolerance to the associated AP. A HT station generates a report (20/40 BSS coexistence) of channel list if it finds a non-HT capable AP or a HT AP which prohibits 40 MHz transmission (i.e., 40 MHz intolerant bit is set in HT capabilities IE) from the scan results. Parse the OBSS scan parameter from Beacon or Probe Response frames and schedule periodic scan to generate 20/40 coexistence channel report if requested to do so. This patch decodes Scan Interval alone from the OBSS Scan Parameters element and triggers scan on timeout. Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/sme.h')
1 files changed, 13 insertions, 0 deletions
diff --git a/wpa_supplicant/sme.h b/wpa_supplicant/sme.h
index 33530bb..a7cc507 100644
--- a/wpa_supplicant/sme.h
+++ b/wpa_supplicant/sme.h
@@ -35,6 +35,9 @@ void sme_disassoc_while_authenticating(struct wpa_supplicant *wpa_s,
const u8 *prev_pending_bssid);
void sme_deinit(struct wpa_supplicant *wpa_s);
+int sme_proc_obss_scan(struct wpa_supplicant *wpa_s);
+void sme_sched_obss_scan(struct wpa_supplicant *wpa_s, int enable);
#else /* CONFIG_SME */
static inline void sme_authenticate(struct wpa_supplicant *wpa_s,
@@ -95,6 +98,16 @@ static inline void sme_deinit(struct wpa_supplicant *wpa_s)
+static inline int sme_proc_obss_scan(struct wpa_supplicant *wpa_s)
+ return 0;
+static inline void sme_sched_obss_scan(struct wpa_supplicant *wpa_s,
+ int enable)
#endif /* CONFIG_SME */
#endif /* SME_H */