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
Approved by: re (gjb)

(cherry picked from commit 86220d3cbd500b1018dcdabb0ba70644db438cfd)
(cherry picked from commit 2a8e509ba30c6546ceeec49f9447c2e3d21a1d22)

Details

Provenance
bzAuthored on Mar 31 2022, 5:29 PM
Parents
rG7b03cfcb24c2: fstyp: detect Raspberry Pi Pico boot filesystem as FAT
Branches
Unknown
Tags
Unknown