Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-27 | Wait until the BSSID is known before adding the MAC context to iwm firmware. | Stefan Sperling | |
Fixes iwm connectivity issues after first boot. Tested by myself (8260 chip) and tb@ (7265 chip) ok tb@ | |||
2016-09-25 | Remove more duplicated includes | Frederic Cambus | |
OK jca@, deraadt@ | |||
2016-09-24 | Assert that bus->force_bit >= 0 instead of force_bit. Found by clang. | Mark Kettenis | |
2016-09-22 | Remove some unused cruft from iwm, including a local namespace-polluting | Stefan Sperling | |
definition of an ieee80211_tu_to_usec() macro... | |||
2016-09-22 | Simplify assignment of sgi_ok variable in iwm_setrates(). No functional change. | Stefan Sperling | |
2016-09-21 | Always set the bit which allows RTS in iwm's LQ command. | Stefan Sperling | |
This bit was only set in 11n mode previously. ok sthen@ | |||
2016-09-21 | Make iwm protect the session during association more like Linux does it. | Stefan Sperling | |
ok sthen@ | |||
2016-09-21 | Properly support the mac context command in iwm. This was wrong in many ways. | Stefan Sperling | |
This commit includes style fixes as well as actual bug fixes. Remove the global in_assoc flag from the softc. We can just pass a fixed argument to functions to indicate whether we're already associated. Remove in_tfsid from the softc as well. It was implicitly set to zero and never changed. A corresponding macro already exists so use it instead. Always copy the BSSID into the mac context command, as the Linux driver does. This helps the firmware during association. Set the firmware state to 'associated' once we've moved to RUN state and our assoc ID is known. Earlier versions of iwm used to set the firmware to 'associated' but this was disabled in r1.91 since it didn't work correctly due to bugs which are now fixed. Use live DTIM information obtained from the AP, rather than using the default DTIM period of our wireless stack. Check return values of functions called after moving to RUN state. ok sthen@ | |||
2016-09-21 | Make iwm return EBUSY from its ic_ampdu_rx_start() handler and | Stefan Sperling | |
call the functions provided by the wireless stack to accept or refuse BA agreements depending on the status returned by firmware. ok sthen@ | |||
2016-09-21 | For the keep-alive period in iwm's power command, use the DTIM period | Stefan Sperling | |
specified by the AP, rather than the default DTIM period of our wireless stack (which is not applicable when running as a client anyway). And tell the firmware to disable power-saving. ok sthen@ | |||
2016-09-21 | Copy the AP's actual EDCA parameters into iwm's mac context command | Stefan Sperling | |
rather than some fixed values present in this file since r1.1. Allows the firmware to properly time its transmissions in 11n networks. ok sthen@ | |||
2016-09-21 | Add the BSS's basic rates to iwm's LQ command, not all the rates. | Stefan Sperling | |
Makes the firmware use appropriate Tx rates for ACKs. | |||
2016-09-20 | Mostly cosmetic tweaks to macros involved in iwm(4) power-saving features. | Stefan Sperling | |
Remove the unused struct iwm_powertable_cmd. Fix typos in comments. Add macros for default power-save Tx/Rx timeout values (from iwlwifi). | |||
2016-09-19 | Remove unused getdev() audio driver functions. | Alexandre Ratchov | |
2016-09-15 | all pools have their ipl set via pool_setipl, so fold it into pool_init. | David Gwynne | |
the ioff argument to pool_init() is unused and has been for many years, so this replaces it with an ipl argument. because the ipl will be set on init we no longer need pool_setipl. most of these changes have been done with coccinelle using the spatch below. cocci sucks at formatting code though, so i fixed that by hand. the manpage and subr_pool.c bits i did myself. ok tedu@ jmatthew@ @ipl@ expression pp; expression ipl; expression s, a, o, f, m, p; @@ -pool_init(pp, s, a, o, f, m, p); -pool_setipl(pp, ipl); +pool_init(pp, s, a, ipl, f, m, p); | |||
2016-09-14 | Declare the type instead of a on-stack variable for sizeof purposes | Mike Belopuhov | |
(Un?)surprisingly the compiler is smart enough to produce the same code in both cases, but this conveys the intention better. | |||
2016-09-14 | Remove drain(), query_encoding(), mappage() and get_default_params() | Alexandre Ratchov | |
methods from all audio drivers and from the audio_if structure as they are never called. | |||
2016-09-14 | add support for SAS3 devices, which have a different sgl layout to previous | Jonathan Matthew | |
generations. tested on a Lenovo N2215 (SAS3008) ok dlg@ deraadt@ | |||
2016-09-14 | regen | Jonathan Matthew | |
2016-09-14 | add LSI/Avago SAS3 devices | Jonathan Matthew | |
2016-09-12 | Simplify handling of the AUX STA in iwm(4). There is no good reason for | Stefan Sperling | |
storing AUX STA data in the softc. Also, simplify error handling around iwm_send_cmd_pdu_status(), and inline its iwm_add_int_sta_common() helper along with fixing an uninitialized 'status' output parameter. | |||
2016-09-10 | Use consistent indentation for multi-line function prototypes in iwm. | Stefan Sperling | |
2016-09-10 | Rename the global nvm_to_read const int array to iwm_nvm_to_read. | Stefan Sperling | |
2016-09-10 | iwm(4) inherited the 'MVM' prefix in many of its symbol names from iwlwifi. | Stefan Sperling | |
Linux iwlwifi implements support for iwn(4) chips in the 'DVM' driver, and support for iwm(4) chips in the 'MVM' driver. In OpenBSD the 'MVM' prefix is redundant, so we can remove it to shorten many lines and reduce noise: s/iwm_mvm_/iwm_/g | |||
2016-09-10 | Fix formatting in iwm such that | Stefan Sperling | |
break; } becomes: break; } | |||
2016-09-10 | Rename iwm_mvm_sta_send_to_fw() to iwm_mvm_sta_cmd(). Get rid of pointless | Stefan Sperling | |
wrapper functions iwm_mvm_add_sta() and iwm_mvm_update_sta(). | |||
2016-09-10 | Move IWM_NVM_* macro definitions from if_iwm.c to if_iwmreg.h. | Stefan Sperling | |
2016-09-05 | redo rwlock conversion now that i've compiled it on i386 | Ted Unangst | |
2016-09-05 | Backout previous commit; does not compile. | Mark Kettenis | |
2016-09-05 | convert busy flag and tsleep to rwlock as in iwm | Ted Unangst | |
2016-09-04 | Replace iwm's ioctl tsleep/wakeup BUSY flag dance with an rwlock. | Stefan Sperling | |
ok tedu | |||
2016-09-04 | Even more enums which should be #defines were hiding inside if_iwm.c. | Stefan Sperling | |
2016-09-04 | Remove unused IWM_READ_NVM_CHUNK_... macros. | Stefan Sperling | |
2016-09-04 | Purge a ton of "-1 not informative" rated comments from iwm and improve | Stefan Sperling | |
some of the more useful ones. | |||
2016-09-04 | Remove disabled iwm debug code which prints the regdomain. | Stefan Sperling | |
2016-09-04 | Rename local variables called 'ret' to 'err' everywhere in iwm. | Stefan Sperling | |
2016-09-04 | Clean up the pile of iwm MAC context command add/send/changed functions. | Stefan Sperling | |
They all collapse to a single iwm_mvm_mac_ctxt_cmd() entry point. | |||
2016-09-04 | Rename iwm_mvm_phy_ctxt_apply() to iwm_mvm_phy_ctxt_cmd() and get rid of | Stefan Sperling | |
redundant iwm_mvm_phy_ctxt_add() and iwm_mvm_phy_ctxt_changed() wrappers. | |||
2016-09-04 | naddy discovered that bha no longer builds because it includes the now | Ted Unangst | |
deleted aha.h header. therefore bha must be dragged into the attic too. | |||
2016-09-04 | Remove unused iwm_mvm_binding_update() wrapper function and replace the | Stefan Sperling | |
iwm_mvm_binding_add_vif() wrapper with a direct call to iwm_mvm_binding_cmd(). | |||
2016-09-04 | Get rid of pointless iwm_mvm_time_event_send_add() wrapper. | Stefan Sperling | |
Call iwm_mvm_send_time_event_cmd() directly instead. | |||
2016-09-03 | Remove iwm_release() by inlining its implementation into its only caller. | Stefan Sperling | |
All the speculative comments about how the HW should be reset go away. | |||
2016-09-03 | iwm was undecided between 'if (err != 0)' and 'if (err)'; switch to 'if (err)' | Stefan Sperling | |
2016-09-03 | In iwm, move assignments to 'err' outside of if-statements. | Stefan Sperling | |
2016-09-03 | The iwm code was torn between 'error' and 'err'; error -> err everywhere | Stefan Sperling | |
2016-09-03 | sync | Mike Belopuhov | |
2016-09-03 | New Intel 10GbE devices | Mike Belopuhov | |
2016-09-03 | DPRINTFs infesting iwm die in a fire... too much noise | Stefan Sperling | |
2016-09-03 | Get rid of iwm_set_pwr(). Call iwm_set_bits_mask_prph() directly instead. | Stefan Sperling | |
2016-09-03 | fix some whitespace and overlong lines | Stefan Sperling | |