Skip to content

mac80211: create mac80211_ prefix

Kalle Valo linux-wireless 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest27 patches 4 repliesIn review
  2. v1 RFC27 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/27iwlegacy: fix stop/wake queue hacksdrivers/net/wireless/iwlegacy/iwl-helpers.h+9 -00 replies
2/27iwlwifi: fix stop/wake queue hacksdrivers/net/wireless/iwlwifi/iwl-helpers.h+9 -00 replies
3/27zd1211rw: include mac80211.h from zd_chip.hdrivers/net/wireless/zd1211rw/zd_chip.h+2 -00 replies
4/27rtlwifi: include mac80211.h from core.hdrivers/net/wireless/rtlwifi/core.h+2 -00 replies
5/27mac80211: switch mac80211.h to use mac80211 prefixinclude/net/mac80211-compat.h include/net/mac80211.h+989 -7140 replies
6/27mac80211: rename ieee80211_i.h to mac80211_i.hnet/mac80211/agg-rx.c net/mac80211/agg-tx.c net/mac80211/cfg.c +39 more+1446 -14460 replies
7/27mac80211: rename ieee80211_local to mac80211_localnet/mac80211/agg-rx.c net/mac80211/agg-tx.c net/mac80211/cfg.c +40 more+561 -5610 replies
8/27mac80211: rename ieee80211_fragment_entry to mac80211_fragment_entrynet/mac80211/mac80211_i.h net/mac80211/rx.c+7 -70 replies
9/27mac80211: rename ieee80211_bss to mac80211_bssnet/mac80211/ibss.c net/mac80211/mac80211_i.h net/mac80211/main.c +2 more+23 -230 replies
10/27mac80211: rename ieee80211_tx_data to mac80211_tx_datanet/mac80211/mac80211_i.h net/mac80211/tx.c net/mac80211/util.c +4 more+36 -360 replies
11/27mac80211: rename ieee80211_packet_rx_flags to mac80211_packet_rx_flagsnet/mac80211/mac80211_i.h net/mac80211/rx.c+42 -420 replies
12/27mac80211: rename ieee80211_rx_flags to mac80211_i_rx_flagsnet/mac80211/mac80211_i.h net/mac80211/rx.c+5 -50 replies
13/27mac80211: rename ieee80211_rx_data to mac80211_rx_datanet/mac80211/mac80211_i.h net/mac80211/rx.c net/mac80211/wep.c +3 more+46 -460 replies
14/27mac80211: rename ieee80211_if_ap to mac80211_if_apnet/mac80211/mac80211_i.h net/mac80211/sta_info.c net/mac80211/tx.c+11 -110 replies
15/27mac80211: change ieee80211_if_wds and _vlan to use mac80211 prefixnet/mac80211/mac80211_i.h+4 -40 replies
16/27mac80211: rename ieee80211_work_type to mac80211_work_typenet/mac80211/cfg.c net/mac80211/mac80211_i.h net/mac80211/mlme.c +2 more+44 -440 replies
17/27mac80211: rename ieee80211_work to mac80211_worknet/mac80211/cfg.c net/mac80211/iface.c net/mac80211/mac80211_i.h +3 more+38 -380 replies
18/27mac80211: rename ieee80211_sta_flags to mac80211_sta_flagsnet/mac80211/mac80211_i.h net/mac80211/mlme.c net/mac80211/status.c +1 more+60 -600 replies
19/27mac80211: rename ieee80211_if_managed to mac80211_if_managednet/mac80211/mac80211_i.h net/mac80211/main.c net/mac80211/mlme.c +3 more+42 -420 replies
20/27mac80211: rename ieee80211_if_ibss to mac80211_if_ibssnet/mac80211/ibss.c net/mac80211/mac80211_i.h net/mac80211/tx.c+15 -150 replies
21/27mac80211: rename ieee80211_if_mesh to mac80211_if_meshnet/mac80211/cfg.c net/mac80211/mac80211_i.h net/mac80211/mesh.c +3 more+28 -280 replies
22/27mac80211: rename ieee80211_sub_if_data_flags to mac80211_sub_if_data_flagsnet/mac80211/agg-tx.c net/mac80211/cfg.c net/mac80211/iface.c +5 more+40 -400 replies
23/27mac80211: rename ieee80211_sdata_state_bits to mac80211_sdata_state_bitsnet/mac80211/mac80211_i.h+2 -20 replies
24/27mac80211: ieee80211_sub_if_data to mac80211_sub_if_datanet/mac80211/agg-rx.c net/mac80211/agg-tx.c net/mac80211/cfg.c +37 more+552 -5520 replies
25/27mac80211: use mac80211 prefix with rx and tx msg flagsnet/mac80211/mac80211_i.h net/mac80211/main.c net/mac80211/rx.c +1 more+6 -60 replies
26/27mac80211: change queue stop reasons to use mac80211 prefixnet/mac80211/agg-tx.c net/mac80211/mac80211_i.h net/mac80211/main.c +4 more+30 -240 replies
27/27mac80211: use mac80211_hwnet/mac80211/led.c net/mac80211/mac80211_i.h net/mac80211/main.c +13 more+82 -820 replies

Reviews trailers per patch

1 of 27 patches has a Reviewed-by or Acked-by.

PatchLarry Finger
1/27
2/27
3/27
4/27A-b
5/27
6/27
7/27
8/27
9/27
10/27
11/27
12/27
13/27
14/27
15/27
16/27
17/27
18/27
19/27
20/27
21/27
22/27
23/27
24/27
25/27
26/27
27/27

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/27] mac80211: create mac80211_ prefix

It has always annoyed me that mac80211 uses ieee80211_ prefix. For some time already I have been planning to try to do something about it and finally I started it. Here's my first shot at it.

In this patchset I first fix some issues I found from the drivers, then create mac80211-compat.h to make the transition as smooth as possible and then start changing mac80211 itself.

I now changed only parts of mac80211_i.h, I anticipate there will be still three or four patchsets before mac80211 has been converted. Once that is done I'm planning to start converting the drivers, one at a time. Unless driver maintainers beat me to it, of course. I'm hoping that the conversion would be fast enough so that mac80211-compat.h would not be included in any of the official linux releases.

v1 was RFC but I didn't get any comments. I'm now resending the series so that it could be considered for inclusion. Changes from v1 are rebase to latest wireless-testing and ack for the rtlwifi patch from Larry.

Kalle

---

Kalle Valo (27):

      iwlegacy: fix stop/wake queue hacks
      iwlwifi: fix stop/wake queue hacks
      zd1211rw: include mac80211.h from zd_chip.h
      rtlwifi: include mac80211.h from core.h
      mac80211: switch mac80211.h to use mac80211 prefix
      mac80211: rename ieee80211_i.h to mac80211_i.h
      mac80211: rename ieee80211_local to mac80211_local
      mac80211: rename ieee80211_fragment_entry to mac80211_fragment_entry
      mac80211: rename ieee80211_bss to mac80211_bss
      mac80211: rename ieee80211_tx_data to mac80211_tx_data
      mac80211: rename ieee80211_packet_rx_flags to mac80211_packet_rx_flags
      mac80211: rename ieee80211_rx_flags to mac80211_i_rx_flags
      mac80211: rename ieee80211_rx_data to mac80211_rx_data
      mac80211: rename ieee80211_if_ap to mac80211_if_ap
      mac80211: change ieee80211_if_wds and _vlan to use mac80211 prefix
      mac80211: rename ieee80211_work_type to mac80211_work_type
      mac80211: rename ieee80211_work to mac80211_work
      mac80211: rename ieee80211_sta_flags to mac80211_sta_flags
      mac80211: rename ieee80211_if_managed to mac80211_if_managed
      mac80211: rename ieee80211_if_ibss to mac80211_if_ibss
      mac80211: rename ieee80211_if_mesh to mac80211_if_mesh
      mac80211: rename ieee80211_sub_if_data_flags to mac80211_sub_if_data_flags
      mac80211: rename ieee80211_sdata_state_bits to mac80211_sdata_state_bits
      mac80211: ieee80211_sub_if_data to mac80211_sub_if_data
      mac80211: use mac80211 prefix with rx and tx msg flags
      mac80211: change queue stop reasons to use mac80211 prefix
      mac80211: use mac80211_hw
 drivers/net/wireless/iwlegacy/iwl-helpers.h |    9 
 drivers/net/wireless/iwlwifi/iwl-helpers.h  |    9 
 drivers/net/wireless/rtlwifi/core.h         |    2 
 drivers/net/wireless/zd1211rw/zd_chip.h     |    2 
 include/net/mac80211-compat.h               |  273 +++++
 include/net/mac80211.h                      | 1430 ++++++++++++++-------------
 net/mac80211/agg-rx.c                       |   12 
 net/mac80211/agg-tx.c                       |   60 +
 net/mac80211/cfg.c                          |  178 ++-
 net/mac80211/chan.c                         |   18 
 net/mac80211/debugfs.c                      |   32 -
 net/mac80211/debugfs.h                      |    4 
 net/mac80211/debugfs_key.c                  |    8 
 net/mac80211/debugfs_key.h                  |   12 
 net/mac80211/debugfs_netdev.c               |   56 +
 net/mac80211/debugfs_netdev.h               |   12 
 net/mac80211/debugfs_sta.c                  |    2 
 net/mac80211/driver-ops.h                   |  122 +-
 net/mac80211/driver-trace.h                 |  172 ++-
 net/mac80211/event.c                        |    4 
 net/mac80211/ht.c                           |   18 
 net/mac80211/ibss.c                         |   94 +-
 net/mac80211/ieee80211_i.h                  | 1406 ---------------------------
 net/mac80211/iface.c                        |  106 +-
 net/mac80211/key.c                          |   32 -
 net/mac80211/key.h                          |   22 
 net/mac80211/led.c                          |   44 -
 net/mac80211/led.h                          |   38 -
 net/mac80211/mac80211_i.h                   | 1406 +++++++++++++++++++++++++++
 net/mac80211/main.c                         |   80 +-
 net/mac80211/mesh.c                         |   92 +-
 net/mac80211/mesh.h                         |   86 +-
 net/mac80211/mesh_hwmp.c                    |   48 -
 net/mac80211/mesh_pathtbl.c                 |   34 -
 net/mac80211/mesh_plink.c                   |   32 -
 net/mac80211/mlme.c                         |  428 ++++----
 net/mac80211/offchannel.c                   |   44 -
 net/mac80211/pm.c                           |   12 
 net/mac80211/rate.c                         |   10 
 net/mac80211/rate.h                         |   16 
 net/mac80211/rc80211_minstrel.c             |    8 
 net/mac80211/rc80211_minstrel.h             |    2 
 net/mac80211/rc80211_minstrel_ht.c          |    6 
 net/mac80211/rc80211_pid_algo.c             |    2 
 net/mac80211/rx.c                           |  250 ++---
 net/mac80211/scan.c                         |   86 +-
 net/mac80211/spectmgmt.c                    |    8 
 net/mac80211/sta_info.c                     |   88 +-
 net/mac80211/sta_info.h                     |   28 -
 net/mac80211/status.c                       |   26 
 net/mac80211/tkip.c                         |    4 
 net/mac80211/tx.c                           |  154 +--
 net/mac80211/util.c                         |  172 ++-
 net/mac80211/wep.c                          |   22 
 net/mac80211/wep.h                          |   12 
 net/mac80211/wme.c                          |   10 
 net/mac80211/wme.h                          |    8 
 net/mac80211/work.c                         |  142 +--
 net/mac80211/wpa.c                          |   22 
 net/mac80211/wpa.h                          |   18 
 60 files changed, 3918 insertions(+), 3615 deletions(-)
 create mode 100644 include/net/mac80211-compat.h
 delete mode 100644 net/mac80211/ieee80211_i.h
 create mode 100644 net/mac80211/mac80211_i.h