ieee80211: change HE nominal packet padding value defines
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Fri, 26 Nov 2021 09:48:19 +0000 (10:48 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Sun, 28 Nov 2021 20:53:04 +0000 (21:53 +0100)
commit75c5bd68b699bbcb6d25879644d62de4da14ab92
tree6d94a4bcb0a1acb244874c242ff3240315e3d9bd
parentfb8b53acf60bdfcefc5a583ce2946258f8261108
ieee80211: change HE nominal packet padding value defines

It's easier to use and understand, and to extend for EHT later,
if we use the values here instead of the shifted values.

Unfortunately, we need to add _POS so that we can use it in
places like iwlwifi/mvm where constants are needed.

While at it, fix the typo ("NOMIMAL") which also helps catch any
conflicts.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://lore.kernel.org/r/20211126104817.7c29a05b8eb5.I2ca9faf06e177e3035bec91e2ae53c2f91d41774@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/mediatek/mt76/mt7915/init.c
drivers/net/wireless/mediatek/mt76/mt7921/main.c
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/fw.c
include/linux/ieee80211.h
net/mac80211/debugfs_sta.c