# \[PATCH 0/9\] mwifiex: Fixes for wifi p2p and AP mode

- From: Jonas Dreßler \<hidden\>
- Date: 2021-09-14 19:59:26 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/09/1508493
- Thread: https://ratatoskr.run/linux-wireless/2021/09/1508493/t.md

```text
A bunch of bugfixes for running mwifiex in the P2P and AP mode, for some prior
discussions, see https://github.com/linux-surface/kernel/pull/71.

Jonas Dreßler (9):
  mwifiex: Small cleanup for handling virtual interface type changes
  mwifiex: Use function to check whether interface type change is
    allowed
  mwifiex: Run SET_BSS_MODE when changing from P2P to STATION vif-type
  mwifiex: Use helper function for counting interface types
  mwifiex: Update virtual interface counters right after setting
    bss_type
  mwifiex: Allow switching interface type from P2P_CLIENT to P2P_GO
  mwifiex: Handle interface type changes from AP to STATION
  mwifiex: Properly initialize private structure on interface type
    changes
  mwifiex: Fix copy-paste mistake when creating virtual interface

 .../net/wireless/marvell/mwifiex/cfg80211.c   | 370 ++++++++++--------
 1 file changed, 197 insertions(+), 173 deletions(-)

-- 
2.31.1

```
