Search Linux Wireless

Re: [PATCH 11/18] wl1251: configure hardware en-/decryption for monitor mode

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

 



Am 2011-02-01 23:35, schrieb Kalle Valo:
> But doesn't this break the case when you are connected to a network
> with encryption and you have a separate monitor interface at the same
> time? Or even worse, as Johannes pointed out, will the frames sent
> unencrypted?

If you add a monitor interface, it will break associated (encryption enabled)
managed interfaces (until mac80211 tries to reassociate). Nevertheless it
shouldn't send out unencrypted frames because of the added check in tx.c.

I couldn't find any mac80211 API function to renegotiate hw encryption, so I
originally did an awful hack to force reassociation on the managed interface. I
haven't included that patch in this patchset.

By the way I forgot that DF_SNIFF_MODE_ENABLE is also necessary for receiving
encrypted frames, which can't be decrypted in firmware (else they would be
corrupted).
--
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