Re: [PATCH 2/2] cfg80211: Specify frame and reason code for NL80211_CMD_DEL_STATION

2014-10-20 Thread Johannes Berg
On Tue, 2014-10-14 at 10:01 +, Malinen, Jouni wrote: > I think I would be fine with cfg80211 default being Deauthentication frame > with reason code 2, so if that is what you would like to see here (rather > than leaving this to the drivers), I can update the patch to behave in > that way. As

Re: [PATCH 2/2] cfg80211: Specify frame and reason code for NL80211_CMD_DEL_STATION

2014-10-14 Thread Malinen, Jouni
On 14/10/14 11:21 am, "Johannes Berg" wrote: >On Fri, 2014-10-10 at 20:55 +0300, Jouni Malinen wrote: > >>+ * @reason_code: Reason code for the Disassociation/Deauthentication >>frame >> */ >> struct station_del_parameters { >> const u8 *mac; >> +u8 subtype; >> +u16 reason_code;

Re: [PATCH 2/2] cfg80211: Specify frame and reason code for NL80211_CMD_DEL_STATION

2014-10-14 Thread Johannes Berg
On Fri, 2014-10-10 at 20:55 +0300, Jouni Malinen wrote: > * @mac: MAC address of the station to remove or NULL to remove all stations > + * @subtype: Management frame subtype to use for indicating removal > + * (0 = no guidance on whether to indicate the removal to the station is > + * provi

[PATCH 2/2] cfg80211: Specify frame and reason code for NL80211_CMD_DEL_STATION

2014-10-10 Thread Jouni Malinen
The optional NL80211_ATTR_MGMT_SUBTYPE and NL80211_ATTR_REASON_CODE attributes can now be included in NL80211_CMD_DEL_STATION to indicate to the driver which frame (Deauthentication/Disassociation) and reason code in that frame should be used to indicate removal to the specific station. This is use