Searched refs:raw_kidx (Results 1 – 2 of 2) sorted by relevance
237 u8 b43legacy_kidx_to_fw(struct b43legacy_wldev *dev, u8 raw_kidx) in b43legacy_kidx_to_fw() argument241 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() local255 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()
377 static inline u8 b43_kidx_to_fw(struct b43_wldev *dev, u8 raw_kidx) in b43_kidx_to_fw() argument381 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() local394 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()