You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hostap/src/ap
Sathishkumar Muruganandam bda9c08596 hostapd: Fix CHAN_SWITCH command for VHT20 and VHT40
Previously, hostapd CHAN_SWITCH command did not effect VHT configuration
for the following:

When VHT is currently disabled (ieee80211ac=0),

1. hostapd_cli -p /var/run/hostapd chan_switch 10 5180 \
                sec_channel_offset=1 center_freq1=5190 bandwidth=40 ht

====> Comes up in HT40

2. hostapd_cli -p /var/run/hostapd chan_switch 10 5765 \
                sec_channel_offset=-1 center_freq1=5775 bandwidth=40 vht

====> Comes up in HT40

3. hostapd_cli -p /var/run/hostapd chan_switch 10 5200 center_freq1=5200 \
                                                  bandwidth=20 vht

====> Comes up in HT20

When VHT is currently enabled (ieee80211ac=1),

1. hostapd_cli -p /var/run/hostapd chan_switch 10 5180 \
                sec_channel_offset=1 center_freq1=5190 bandwidth=40 ht

====> Comes up in VHT40

2. hostapd_cli -p /var/run/hostapd chan_switch 10 5200 center_freq1=5200 \
                                                  bandwidth=20 ht

====> Comes up in VHT20

This is since VHT config from chan_switch is processed only for
bandwidths 80 and above (80P80, 160) and for VHT20, VHT40 cases, only
NLA chan type and chan width are updated.

There is no NL attribute for determining if it is HT or VHT for
bandwidths 20 & 40 and currently they are updated as HT20, HT40 (+ or -
depending on offset). Same is notified back via
NL80211_CMD_CH_SWITCH_NOTIFY.

Instead of adding new NL attribute for tracking HT/VHT enabled config,
we are adding new hostapd VHT config parameter to save the chan_switch
config and use only for chan_switch case of VHT20 and VHT40.

Tested with all combinations of chan_switch (noHT->20->40->80->) HT/VHT
and confirmed to be working.

Signed-off-by: Sathishkumar Muruganandam <murugana@codeaurora.org>
6 years ago
..
Makefile Fix ap-mgmt-fuzzer build 7 years ago
accounting.c Remove unused generation of Request Authenticator in Account-Request 8 years ago
accounting.h RADIUS: Use more likely unique accounting Acct-{,Multi-}Session-Id 9 years ago
acs.c ACS: Avoid invalid interference factor when survey channel time is zero 6 years ago
acs.h ACS: Fix memory leak if interface is disabled during scan 7 years ago
ap_config.c EAP-TLS server: Disable TLS v1.3 by default 6 years ago
ap_config.h hostapd: Fix CHAN_SWITCH command for VHT20 and VHT40 6 years ago
ap_drv_ops.c OWE: Transition mode with non-AP-MLME 7 years ago
ap_drv_ops.h DPP: Authentication exchange retries and channel iteration in hostapd 7 years ago
ap_list.c Move ap_list_timer() to use common AP periodic cleanup mechanism 9 years ago
ap_list.h Move ap_list_timer() to use common AP periodic cleanup mechanism 9 years ago
ap_mlme.c FILS: Do not clear PTK on FILS Auth/Assoc (AP) 8 years ago
ap_mlme.h
authsrv.c HS 2.0: Terms and Conditions testing feature in authentication server 6 years ago
authsrv.h
beacon.c Extend ACL check for Probe Request frames 6 years ago
beacon.h hostapd: Added signal level to STA tracking 8 years ago
bss_load.c hostapd: Add average channel utilization in STATUS 7 years ago
bss_load.h AP: Add support for BSS load element (STA Count, Channel Utilization) 10 years ago
ctrl_iface_ap.c hostapd: Add ctrl iface indications for WDS STA interface 6 years ago
ctrl_iface_ap.h DPP: Allow PMKSA cache entries to be added through hostapd ctrl_iface 7 years ago
dfs.c DFS: Mark channels required DFS based on reg-domain info from the driver 6 years ago
dfs.h DFS: Handle pre-CAC expired event 7 years ago
dhcp_snoop.c Fix DHCP/NDISC snoop deinit followed by failing re-init 7 years ago
dhcp_snoop.h AP: Add support for Proxy ARP, DHCP snooping mechanism 10 years ago
dpp_hostapd.c DPP: Support retrieving of configurator's private key 6 years ago
dpp_hostapd.h DPP: Support retrieving of configurator's private key 6 years ago
drv_callbacks.c hostapd: Fix CHAN_SWITCH command for VHT20 and VHT40 6 years ago
eap_user_db.c HS 2.0: Terms and Conditions testing feature in authentication server 6 years ago
eth_p_oui.c FT: Replace inter-AP protocol with use of OUI Extended Ethertype 7 years ago
eth_p_oui.h FT: Replace inter-AP protocol with use of OUI Extended Ethertype 7 years ago
fils_hlp.c FILS: Add a space before MAC address to a HLP debug message 7 years ago
fils_hlp.h FILS: DHCP relay for HLP requests 8 years ago
gas_query_ap.c DPP: Integration for hostapd 7 years ago
gas_query_ap.h DPP: Integration for hostapd 7 years ago
gas_serv.c HS 2.0: Allow configuration of operator icons 6 years ago
gas_serv.h HS 2.0: Allow configuration of operator icons 6 years ago
hostapd.c hostapd: Fix CHAN_SWITCH command for VHT20 and VHT40 6 years ago
hostapd.h hostapd: Fix CHAN_SWITCH command for VHT20 and VHT40 6 years ago
hs20.c HS 2.0: CoA-Request processing for Terms and Conditions filtering 6 years ago
hs20.h HS 2.0: CoA-Request processing for Terms and Conditions filtering 6 years ago
hw_features.c ap: Fix invalid HT40 channel pair fallback 7 years ago
hw_features.h hostapd: Fix some compilation errors 9 years ago
iapp.c IAPP: Set SO_REUSEADDR on listening socket 8 years ago
iapp.h
ieee802_1x.c HS 2.0: CoA-Request processing for Terms and Conditions filtering 6 years ago
ieee802_1x.h FILS: Export IEEE 802.1X helper functions 8 years ago
ieee802_11.c HS 2.0: Copy Roaming Consortium OI from (Re)AssocReq to Access-Request 6 years ago
ieee802_11.h Extend ACL check for Probe Request frames 6 years ago
ieee802_11_auth.c Extend ACL check for Probe Request frames 6 years ago
ieee802_11_auth.h Extend ACL check for Probe Request frames 6 years ago
ieee802_11_he.c hostapd: Update HE capabilities and HE operation definition 7 years ago
ieee802_11_ht.c Do not disable 40 MHz based on co-ex report with matching primary channel 6 years ago
ieee802_11_shared.c OWE: Transition mode with non-AP-MLME 7 years ago
ieee802_11_vht.c mesh: Use correct rate in VHT and HT mixed environment 7 years ago
mbo_ap.c MBO: Do not parse reason_detail in non_pref_chan attr (AP) 8 years ago
mbo_ap.h MBO: Parse non-preferred channel list on the AP 8 years ago
ndisc_snoop.c Fix DHCP/NDISC snoop deinit followed by failing re-init 7 years ago
ndisc_snoop.h proxyarp: Use C library header files and CONFIG_IPV6 10 years ago
neighbor_db.c hostapd: Add a configuration to set an AP as stationary 8 years ago
neighbor_db.h hostapd: Add a configuration to set an AP as stationary 8 years ago
p2p_hostapd.c Use P2P_IE_VENDOR_TYPE more consistently 10 years ago
p2p_hostapd.h
pmksa_cache_auth.c FILS: Update PMKID derivation rules for ERP key hierarchy establishment 7 years ago
pmksa_cache_auth.h OWE: PMKSA caching in AP mode 7 years ago
preauth_auth.c
preauth_auth.h
rrm.c RRM: Fix range request overriding 7 years ago
rrm.h Report beacon request TX status as control interface event 8 years ago
sta_info.c hostapd: Add ctrl iface indications for WDS STA interface 6 years ago
sta_info.h HS 2.0: Send Terms and Conditions Acceptance notification 6 years ago
taxonomy.c Fix or supress various sparse warnings 8 years ago
taxonomy.h taxonomy: Store Probe Request frames in hostapd_sta_info 8 years ago
tkip_countermeasures.c hostapd: Add logging around Michael MIC related failures 6 years ago
tkip_countermeasures.h hostapd: Fix a regression in TKIP countermeasures processing 12 years ago
utils.c FST: Do not prune STAs belonging to the same FST 9 years ago
vlan.c VLAN: Fix vlan_compare() for tagged VLANs 8 years ago
vlan.h radius: Add tagged VLAN parsing 8 years ago
vlan_full.c Use a separate header file for Linux bridge interface definitions 8 years ago
vlan_ifconfig.c vlan: Move if_nametoindex() use out of vlan_init.c 8 years ago
vlan_init.c vlan: Move if_nametoindex() use out of vlan_init.c 8 years ago
vlan_init.h VLAN: Separate station grouping and uplink configuration 8 years ago
vlan_ioctl.c Use own header file for defining Linux VLAN kernel interface 8 years ago
vlan_util.c vlan: Remove unnecessary header includes from netlink implementation 8 years ago
vlan_util.h vlan: Move if_nametoindex() use out of vlan_init.c 8 years ago
wmm.c WMM: Fix estimated medium time calculation for some corner cases 7 years ago
wmm.h Remove obsolete license notifications 11 years ago
wnm_ap.c hostapd: Ignore LOW_ACK event for co-operative steering clients 6 years ago
wnm_ap.h hostapd: Ignore LOW_ACK event for co-operative steering clients 6 years ago
wpa_auth.c FT: Add helper function for FILS key storing 6 years ago
wpa_auth.h FT: Add session_timeout to push/resp 6 years ago
wpa_auth_ft.c FT: Add session_timeout to push/resp 6 years ago
wpa_auth_glue.c FT: Add set/get session_timeout callback functions 6 years ago
wpa_auth_glue.h
wpa_auth_i.h FT: Add helper function for FILS key storing 6 years ago
wpa_auth_ie.c OWE: Clean up pointer check in a testing code path 6 years ago
wpa_auth_ie.h Remove all PeerKey functionality 7 years ago
wps_hostapd.c WPS: Map GCMP-256 and CCMP-256 to AES encryption type 7 years ago
wps_hostapd.h WPS NFC: Add AP mode connection handover report 11 years ago
x_snoop.c AP: Enable multicast snooping on bridge if ProxyARP IPv6 is in use 9 years ago
x_snoop.h AP: Add multicast-to-unicast conversion send for "x_snoop" 10 years ago