Home
last modified time | relevance | path

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

/drivers/net/wireless/b43legacy/
Dxmit.h234 u8 b43legacy_kidx_to_fw(struct b43legacy_wldev *dev, u8 raw_kidx) in b43legacy_kidx_to_fw() argument
238 firmware_kidx = raw_kidx; in b43legacy_kidx_to_fw()
240 if (raw_kidx >= 4) /* Is per STA key? */ in b43legacy_kidx_to_fw()
241 firmware_kidx = raw_kidx - 4; in b43legacy_kidx_to_fw()
243 firmware_kidx = raw_kidx; /* TX default key */ in b43legacy_kidx_to_fw()
250 u8 raw_kidx; in b43legacy_kidx_to_raw() local
252 raw_kidx = firmware_kidx; in b43legacy_kidx_to_raw()
255 raw_kidx = firmware_kidx + 4; in b43legacy_kidx_to_raw()
256 return raw_kidx; in b43legacy_kidx_to_raw()
/drivers/net/wireless/b43/
Dxmit.h313 static inline u8 b43_kidx_to_fw(struct b43_wldev *dev, u8 raw_kidx) in b43_kidx_to_fw() argument
317 firmware_kidx = raw_kidx; in b43_kidx_to_fw()
319 if (raw_kidx >= 4) /* Is per STA key? */ in b43_kidx_to_fw()
320 firmware_kidx = raw_kidx - 4; in b43_kidx_to_fw()
322 firmware_kidx = raw_kidx; /* TX default key */ in b43_kidx_to_fw()
328 u8 raw_kidx; in b43_kidx_to_raw() local
330 raw_kidx = firmware_kidx; in b43_kidx_to_raw()
332 raw_kidx = firmware_kidx + 4; /* RX default keys or per STA keys */ in b43_kidx_to_raw()
333 return raw_kidx; in b43_kidx_to_raw()