Search Linux Wireless

[PATCH wireless-next v2 0/1] wifi: mac80211: change ieee80211_gtk_rekey_add API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In order to make the drivers' lives easier, change this API to receive
only what it really needs and not an entire ieee80211_key_conf.

As the cipher (and therefore also the key length) remains the same upon
a rekey, there is no need for the driver to send this information —
mac80211 can infer it from the old key.

This will spare the drivers from looking up the key's cipher.

Note that this patch makes only the necessary changes without any
cleanup of the drivers' code.
Those can be done later.

Miri
---

Miri Korenblit (1):
  wifi: mac80211: don't require cipher and keylen in gtk rekey

 drivers/net/wireless/intel/iwlwifi/mld/d3.c |  7 +++-
 drivers/net/wireless/intel/iwlwifi/mvm/d3.c | 11 +++++--
 drivers/net/wireless/realtek/rtw89/wow.c    |  7 ++--
 include/net/mac80211.h                      |  7 ++--
 net/mac80211/key.c                          | 36 +++++++++++++++++++--
 5 files changed, 58 insertions(+), 10 deletions(-)

-- 
2.34.1





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux