]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: 802.11: fix compat code for i386
authorBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 31 Mar 2022 17:29:53 +0000 (17:29 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 31 Mar 2022 17:29:53 +0000 (17:29 +0000)
commit86220d3cbd500b1018dcdabb0ba70644db438cfd
treefe916d10d81c35ba57770c3e25fbe4227396e582
parent5533c5046ada0b3d131e6cb5f063598666c95ffe
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
sys/compat/linuxkpi/common/include/net/mac80211.h
sys/compat/linuxkpi/common/src/linux_80211.c