Home
last modified time | relevance | path

Searched refs:raw_kidx (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
Dxmit.h237 u8 b43legacy_kidx_to_fw(struct b43legacy_wldev *dev, u8 raw_kidx) in b43legacy_kidx_to_fw() argument
241 firmware_kidx = raw_kidx; in b43legacy_kidx_to_fw()
243 if (raw_kidx >= 4) /* Is per STA key? */ in b43legacy_kidx_to_fw()
244 firmware_kidx = raw_kidx - 4; in b43legacy_kidx_to_fw()
246 firmware_kidx = raw_kidx; /* TX default key */ in b43legacy_kidx_to_fw()
253 u8 raw_kidx; in b43legacy_kidx_to_raw() local
255 raw_kidx = firmware_kidx; in b43legacy_kidx_to_raw()
258 raw_kidx = firmware_kidx + 4; in b43legacy_kidx_to_raw()
259 return raw_kidx; in b43legacy_kidx_to_raw()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Dxmit.h377 static inline u8 b43_kidx_to_fw(struct b43_wldev *dev, u8 raw_kidx) in b43_kidx_to_fw() argument
381 firmware_kidx = raw_kidx; in b43_kidx_to_fw()
383 if (raw_kidx >= 4) /* Is per STA key? */ in b43_kidx_to_fw()
384 firmware_kidx = raw_kidx - 4; in b43_kidx_to_fw()
386 firmware_kidx = raw_kidx; /* TX default key */ in b43_kidx_to_fw()
392 u8 raw_kidx; in b43_kidx_to_raw() local
394 raw_kidx = firmware_kidx; in b43_kidx_to_raw()
396 raw_kidx = firmware_kidx + 4; /* RX default keys or per STA keys */ in b43_kidx_to_raw()
397 return raw_kidx; in b43_kidx_to_raw()