History log of /dflybsd-src/sys/dev/netif/iwm/if_iwm_util.c (Results 1 – 20 of 20)
Revision Date Author Comments
# 6acbba79 31-Dec-2019 Matthew Dillon <dillon@apollo.backplane.com>

iwm - Full sync from FreeBSD

* Full sync from freebsd, plus add iwm-9000 and iwm-9260 support.

* Patch up some ABI changes to ieee80211_*() which we don't have
yet.


# 8a5dd778 03-Nov-2016 Imre Vadász <imre@vdsz.com>

if_iwm - Add iwm_mvm_send_lq_cmd() from Linux iwlwifi to if_iwm_util.c.

Taken-From: Linux iwlwifi


# 71310fab 28-Oct-2016 Imre Vadász <imre@vdsz.com>

if_iwm - Fix iwm_mvm_send_cmd_pdu(_status) declarations. Make id a uint32_t.

* This fixes cases where the group id of wide commands got lost, e.g. this
happened to the IWM_SCAN_ABORT_UMAC command.


# 3b7fc5aa 12-Oct-2016 Imre Vadász <imre@vdsz.com>

if_iwm - Allow listening on both chains/atennas to get diversity.

* This might improve throughput slightly when far from the accesspoint,
apparently by allowing the firmware to listen on either of

if_iwm - Allow listening on both chains/atennas to get diversity.

* This might improve throughput slightly when far from the accesspoint,
apparently by allowing the firmware to listen on either of the two
antennas (if there are two, i.e. on 7260/7265/8260), whichever has
a better reception.

Taken-From: Linux iwlwifi

show more ...


# 83a1185e 25-Sep-2016 Imre Vadász <imre@vdsz.com>

if_iwm - Move iwm_dma_contig_alloc/_free functions to if_iwm_util.c.


# ce43f57f 16-Sep-2016 Imre Vadász <imre@vdsz.com>

if_iwm - Implement apmg_wake_up_wa workaround properly for 7000 family.

* Add iwm_pcie_set_cmd_in_flight() and iwm_pcie_clear_cmd_in_flight()
helper methods.

* Use ring->queued tracking in the co

if_iwm - Implement apmg_wake_up_wa workaround properly for 7000 family.

* Add iwm_pcie_set_cmd_in_flight() and iwm_pcie_clear_cmd_in_flight()
helper methods.

* Use ring->queued tracking in the command queue to set/clear the
cmd_hold_nic_awake bit at the right points.

Taken-From: Linux iwlwifi

show more ...


# cbb82693 07-Sep-2016 Imre Vadász <imre@vdsz.com>

if_iwm - Sync valid_tx_ant and valid_rx_ant mask handling with iwlwifi.

* This fixes the phy_cfg field sent in the iwm_send_phy_cfg_cmd()
command, which wasn't taking into account the valid_rx_ant

if_iwm - Sync valid_tx_ant and valid_rx_ant mask handling with iwlwifi.

* This fixes the phy_cfg field sent in the iwm_send_phy_cfg_cmd()
command, which wasn't taking into account the valid_rx_ant and
valid_tx_ant masks from nvm_data before.

show more ...


# 39f8331b 06-Sep-2016 Imre Vadász <imre@vdsz.com>

if_iwm - Sync nvm parsing code with Linux iwlwifi.

* sc->sc_nvm becomes sc->nvm_data and is now a pointer instead of an
inlined struct.

* Add sc->eeprom_size and sc->nvm_hw_section_num configurat

if_iwm - Sync nvm parsing code with Linux iwlwifi.

* sc->sc_nvm becomes sc->nvm_data and is now a pointer instead of an
inlined struct.

* Add sc->eeprom_size and sc->nvm_hw_section_num configuration values to
struct iwm_softc.

* For now continue to avoid negative error return-values, and use pointer
variables for some return values, as before.

* Continue to omit LAR (location aware regulatory) related code as well.

show more ...


# 92cc3b9f 04-Sep-2016 Imre Vadász <imre@vdsz.com>

if_iwm - Remove some unneeded #include-s from all .c files.


# 303bb3ad 11-Jul-2016 Imre Vadász <imre@vdsz.com>

if_iwm - Remove iwmsleep, it's no longer needed. Use just lksleep instead.


# 45078908 11-Jun-2016 Imre Vadász <imre@vdsz.com>

if_iwm - GC unused struct iwm_rx_buf. Two small nitpicks.


# 65b2e1ba 11-Jun-2016 Imre Vadász <imre@vdsz.com>

if_iwm - Use mbuf for large firmware commands, like OpenBSD does.

* We also need to consider the size of large firmware commands in
iwm_alloc_tx_ring(), in the dma tag creation, when
qid == IWM_

if_iwm - Use mbuf for large firmware commands, like OpenBSD does.

* We also need to consider the size of large firmware commands in
iwm_alloc_tx_ring(), in the dma tag creation, when
qid == IWM_MVM_CMD_QUEUE.

Inspired-by: OpenBSD and existing code in iwm_rx_addbuf()

show more ...


# d4fd5395 10-Jun-2016 Imre Vadász <imre@vdsz.com>

if_iwm - Compare paylen to datasz instead of sizeof(cmd->data).


# edfc8a07 23-May-2016 Imre Vadász <imre@vdsz.com>

if_iwm - Update to support version 16 firmware.

* XXX The firmware always signals missed beacons, and doesn't give us
statistics notifications.

Taken-From: OpenBSD


# b70c1eaa 14-May-2016 Imre Vadász <imre@vdsz.com>

if_iwm - Use IWM_MAX_CMD_PAYLOAD_SIZE to improve command length checks.

Taken-From: OpenBSD (parts of if_iwm.c r1.57 and if_iwmreg.h r1.10)


# 77de6c2d 14-May-2016 Imre Vadász <imre@vdsz.com>

wlan - Sync dev/netif/iwm from FreeBSD

* Sync dev/netif/iwm from FreeBSD, fbsd git dd885b9a0a0e, May 11 2016.

* Tried to preserve local changes, as well as changes taken from OpenBSD
which haven'

wlan - Sync dev/netif/iwm from FreeBSD

* Sync dev/netif/iwm from FreeBSD, fbsd git dd885b9a0a0e, May 11 2016.

* Tried to preserve local changes, as well as changes taken from OpenBSD
which haven't been merged into FreeBSD yet.

* XXX We might be able to remove the iwmsleep hack now
* XXX Not tested yet

show more ...


# ec7b6344 01-Jan-2016 Imre Vadász <imre@vdsz.com>

if_iwm: Remove comments referring to Linux iwlwifi source filenames.

Taken-From: OpenBSD


# b0b29253 18-Sep-2015 Matthew Dillon <dillon@apollo.backplane.com>

iwm - DragonFly cleanup (no functional changes)

* Cleanup and document iwm work.

* Remove test fences that aren't needed.


# 45bc40b1 18-Sep-2015 Matthew Dillon <dillon@apollo.backplane.com>

iwm - DragonFly modifications and a bug fix

* Modifications to make iwm build for DragonFly.

* Fix a serious bug, iwm_stop_device() must clear the rxq stat
data primarily to reset to hw rx ring i

iwm - DragonFly modifications and a bug fix

* Modifications to make iwm build for DragonFly.

* Fix a serious bug, iwm_stop_device() must clear the rxq stat
data primarily to reset to hw rx ring index to 0. Otherwise
all packets already handled from 0 to the current hw rx ring index
will be reprocessed on restart.

* Implement iwmsleep() instead of using msleep(). iwmsleep() will
handle exiting and re-entering the wlan_serializer. Without this
we can easily deadlock on the double lock.

* Implement Makefile infrastructure.

* Revert the FreeBSD patch to remove the per-debvice netif, since our
802.11 infrastructure has not yet been updated for that.

* Purge the ifq on start if the interface is not running.

* Misc other DragonFly adjustments.

show more ...


# 24a8d46a 18-Sep-2015 Matthew Dillon <dillon@apollo.backplane.com>

wlan - Import if_iwm from FreeBSD (base)