HomeFreeBSD

LinuxKPI: 802.11: fix compat code for i386

Description

LinuxKPI: 802.11: fix compat code for i386

Compiling another driver on i386 revealed two problems:

  • ieee80211_tx_info.status.status_driver_data space needs to be calculated. While a pointer is 32bit vm_paddr_t is 64 bit on i386 so we didn't fit more than one of these in but needed more space.
  • the arguments to ieee80211_txq_get_depth() are expected to unsigned long and not uint64_t.

No user noticable changes.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Details

Provenance
bzAuthored on Mar 31 2022, 5:29 PM
Parents
rG5533c5046ada: ifconfig.8: Update -l synopsis
Branches
Unknown
Tags
Unknown