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

(cherry picked from commit 86220d3cbd500b1018dcdabb0ba70644db438cfd)

Details

Provenance
bzAuthored on Mar 31 2022, 5:29 PM
Parents
rG4e94b3542dd6: linuxkpi: move io_mapping_create_wc to .c
Branches
Unknown
Tags
Unknown