aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/hostapd.h
diff options
context:
space:
mode:
authorTamizh chelvam <tamizhr@codeaurora.org>2018-03-09 12:49:09 (GMT)
committerJouni Malinen <j@w1.fi>2018-03-19 18:07:22 (GMT)
commitec2b5173cedd8582f177395642a13cabfe9ce50e (patch)
tree3a3008a584c451e241355a57003124eb9ebb5f45 /src/ap/hostapd.h
parente8ada1600f7fb4f6e2fe72ec206c3caa7b014b98 (diff)
downloadhostap-ec2b5173cedd8582f177395642a13cabfe9ce50e.zip
hostap-ec2b5173cedd8582f177395642a13cabfe9ce50e.tar.gz
hostap-ec2b5173cedd8582f177395642a13cabfe9ce50e.tar.bz2
Make STA opmode change event available to upper layers
Add an event callback for EVENT_STATION_OPMODE_CHANGED to allow user/application to get the notification whenever there is a change in a station's HT/VHT op mode. The new events: STA-OPMODE-MAX-BW-CHANGED <addr> <20(no-HT)|20|40|80|80+80|160> STA-OPMODE-SMPS-MODE-CHANGED <addr> <automatic|off|dynamic|static> STA-OPMODE-N_SS-CHANGED <addr> <N_SS> Signed-off-by: Tamizh chelvam <tamizhr@codeaurora.org>
Diffstat (limited to 'src/ap/hostapd.h')
-rw-r--r--src/ap/hostapd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ap/hostapd.h b/src/ap/hostapd.h
index 53d0f9a..7743acf 100644
--- a/src/ap/hostapd.h
+++ b/src/ap/hostapd.h
@@ -608,6 +608,9 @@ hostapd_get_eap_user(struct hostapd_data *hapd, const u8 *identity,
struct hostapd_data * hostapd_get_iface(struct hapd_interfaces *interfaces,
const char *ifname);
+void hostapd_event_sta_opmode_changed(struct hostapd_data *hapd, const u8 *addr,
+ enum smps_mode smps_mode,
+ enum chan_width chan_width, u8 rx_nss);
#ifdef CONFIG_FST
void fst_hostapd_fill_iface_obj(struct hostapd_data *hapd,