Search Linux Wireless

Re: mac80211 hardware encryption

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

 



On Tue, Apr 15, 2008 at 1:35 PM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
>
>  > > Not sure what was intention for hw_key_idx but currently there are assignment
>  > > from key->conf.keyidx to hw_key_idx and visa versa.  keyidx is used
>  > > for 802.11 key index [1..4]
>  > > So it's quit risky to use it for something else
>  >
>  > That souds like a bug in mac80211 then. hw_key_idx is for internal use for the driver,
>  > and mac80211 should never expect the driver to set it to a particular value.
>
>  Yeah, that'd be a bug, and I can't find any such assignment. In fact,
>  mac80211 doesn't contain any assignment to hw_key_idx or to a 1-4
>  key_idx from hw_key_idx. Never mind the fact that the tx_control member
>  could be called hw_key_idx as well...
>
Sorry my mistake I get confused by a bug from past. It was bug in
iwlwifi not in mac80211. mac80211 looks OK.

Tomas
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux