[PATCH 2/2] hostapd: Configure spectrum management capability
Jouni Malinen
j
Mon Feb 24 15:58:17 PST 2014
On Fri, Feb 21, 2014 at 02:42:18PM +0100, Marek Puzyniak wrote:
> From: Chaitanya T K <chaitanyatk at posedge.com>
>
> Add configuration of Spectrum Managment subfield in
> the Capability Information of Beacon, Probe Response and
> Association Response. Spectrum Management bit is set when directly
> requested by new configuration option spectrum_mgmt_required=1
> or when AP is running on DFS channels. In future also TPC
> shall require this bit to be set.
Thanks, applied both patches with some cleanup/fixes. The
hostapd_is_dfs_required() path ended up crashing hostapd with any driver
that does not use hw_features, including use of hostapd as a RADIUS
server.. This ended up breaking 75 hwsim test cases because of the
authentication server crash; checking that iface->current_mode is set
fixed that.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list