Page MenuHomeFreeBSD

mtw: convert to new net80211 crypto key API
ClosedPublic

Authored by adrian on Wed, Nov 12, 2:59 AM.
Referenced Files
Unknown Object (File)
Tue, Dec 2, 6:06 AM
Unknown Object (File)
Sun, Nov 30, 1:10 PM
Unknown Object (File)
Tue, Nov 25, 8:57 PM
Unknown Object (File)
Sun, Nov 23, 6:58 PM
Unknown Object (File)
Tue, Nov 18, 10:17 PM
Unknown Object (File)
Sun, Nov 16, 10:28 AM
Unknown Object (File)
Sun, Nov 16, 10:28 AM
Unknown Object (File)
Sun, Nov 16, 10:28 AM
Subscribers

Details

Summary
  • constify mtw_write_region_1()'s data field
  • convert to use ieee80211_crypto_get_*()
  • .. note that rx/tx mic data routines are explicitly being called, as this NIC is doing TKIP + MIC offload

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz added a subscriber: bz.

Seems fine ..

sys/dev/usb/wlan/if_mtw.c
1291

This at first seems rather bogus to const the argument which is then only DECONST. It seems there should be a better usbd wrapper for write which deals with a const buffer...
The little I like this the much I see what it solves for you...

This revision is now accepted and ready to land.Thu, Nov 13, 10:40 PM
This revision was automatically updated to reflect the committed changes.