Search Linux Wireless

Re: [PATCH v6] qtnfmac: introduce new FullMAC driver for Quantenna chipsets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > - reply to action frames rejected by userspace tools
> >   in the same way as it is done by mac80211
> 
> I think you're probably thinking of the right thing, but just to
> clarify:
>  * if userspace decides to send a reject frame (0x80|action) then
>    that's just a regular mgmt-TX, nothing special about that
>  * if the cfg80211_rx_mgmt() *function* returns saying it wasn't
>    handled, that's just cfg80211 doing it due to the filters - then
>    there's no userspace code involved
> 
> I think you were thinking of the latter case, and yes, just adding the
> few lines of code to send rejects for action frames would be
> sufficient.
Correct, this is the case.

> 
> > Adding reject code seems to be straightforward. Adding
> > NL80211_RXMGMT_FLAG_ANSWERED flag to firmware is a more involved
> > task. But it can be done gradually, from simple usecases to the
> > complicated ones. Besides, IIUC the support of this flag by userspace
> > tools is still a work in progress. E.g., hostapd is not yet using it,
> > so we keep using 'send_probe_response = 0' config option.
> 
> Yeah, like I said above, this whole thing isn't really fully thought
> out it seems. I'm not sure what you mean by "send_probe_response = 0"
> though.
Hostapd registers for acton frames and probe requests. In our case probe
responses are sent by firmware. However hostapd needs to look at them anyway
in certain usecases. Bug hostapd doesn't try to respond to probe requests
when option 'send_probe_response = 0' is set in hostapd config.

IIRC the idea was to use 'send_probe_response' for now and then to implement
the use of NL80211_RXMGMT_FLAG_ANSWERED flag in hostapd, at least for probe
requests for the start. But it definitely doesn't make sense if you
plan to get rid of this flag in the long run.

> > Does it make sense if I post an RFC patch modifying current interface
> > of mgmt_frame_register in cfg80211_ops to collect feedback ?
> 
> Sure. I think there are some complications, like what happens if you
> just pass this through to the firmware and then the firmware crashes,
> and you need to recover this state? Perhaps cfg80211 should have some
> state accessors ("iterate list of subscriptions") for this purpose. Of
> course that can be added later as well.
Ok

Regards,
Sergey



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux