2020-07-01 12:50:10

by Pali Rohár

[permalink] [raw]
Subject: mwifiex: mwifiex_cfg80211_change_station and AP mode

Hello!

I'm looking at mwifiex_cfg80211_change_station() function which
basically implements NL80211_CMD_SET_STATION nl80211 API.

Currently this mwifiex implementation does not support AP mode, only
client STA mode.

The most common usage of NL80211_CMD_SET_STATION in AP mode is via
NL80211_ATTR_STA_VLAN to put clients into separate VLANs.

Is there any possibility how to implement NL80211_CMD_SET_STATION with
NL80211_ATTR_STA_VLAN in mwifiex (in mwifiex_cfg80211_change_station)?
It looks like it is needed some mwifiex firmware command which would do
it (put client into vlan).

Do you have any information / documentation for this feature?


2021-07-17 13:58:02

by Pali Rohár

[permalink] [raw]
Subject: Re: mwifiex: mwifiex_cfg80211_change_station and AP mode

[+cc: Maximilian, Jonas and Sharvari]

Just to note that hostapd does not work in EAP mode (which is used e.g.
in WPA2-Enterprise) when kernel driver does not implement
NL80211_CMD_SET_STATION with NL80211_ATTR_STA_VLAN support.

So without it is mwifiex basically unusable for EAP mode.

On Wednesday 01 July 2020 14:48:37 Pali Rohár wrote:
> Hello!
>
> I'm looking at mwifiex_cfg80211_change_station() function which
> basically implements NL80211_CMD_SET_STATION nl80211 API.
>
> Currently this mwifiex implementation does not support AP mode, only
> client STA mode.
>
> The most common usage of NL80211_CMD_SET_STATION in AP mode is via
> NL80211_ATTR_STA_VLAN to put clients into separate VLANs.
>
> Is there any possibility how to implement NL80211_CMD_SET_STATION with
> NL80211_ATTR_STA_VLAN in mwifiex (in mwifiex_cfg80211_change_station)?
> It looks like it is needed some mwifiex firmware command which would do
> it (put client into vlan).
>
> Do you have any information / documentation for this feature?