Searched refs:raw_kidx (Results 1 – 2 of 2) sorted by relevance
234 u8 b43legacy_kidx_to_fw(struct b43legacy_wldev *dev, u8 raw_kidx) in b43legacy_kidx_to_fw() argument238 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() local252 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()
313 static inline u8 b43_kidx_to_fw(struct b43_wldev *dev, u8 raw_kidx) in b43_kidx_to_fw() argument317 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() local330 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()