aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/tt.c
Commit message (Collapse)AuthorAgeFilesLines
...
* iwlwifi: mvm: remove uneeded D0I3 checkingChaya Rachel Ivgi2016-03-301-3/+0
| | | | | | | | The driver can read the current state during D0I3, therefore there is no reason not to do it. Signed-off-by: Chaya Rachel Ivgi <[email protected]> Signed-off-by: Emmanuel Grumbach <[email protected]>
* iwlwifi: mvm: handle async temperature notification with unlocked mutexChaya Rachel Ivgi2016-03-301-9/+0
| | | | | | | | Use RX_HANDLER_ASYNC_UNLOCKED instead of unlock and re-lock the mutex independently. Signed-off-by: Chaya Rachel Ivgi <[email protected]> Signed-off-by: Emmanuel Grumbach <[email protected]>
* iwlwifi: mvm: return the cooling state index instead of the budgetChaya Rachel Ivgi2016-03-091-27/+29
| | | | | | | | | | | iwl_mvm_tcool_get_cur_state is the function that returns the cooling state index to the sysfs handler. This function returns mvm->cooling_dev.cur_state but that variable was set to the budget and not the cooling state index. Fix that. Add a missing blank line while at it. Signed-off-by: Chaya Rachel Ivgi <[email protected]> Signed-off-by: Emmanuel Grumbach <[email protected]>
* iwlwifi: mvm: add ctdp operations to debugfsChaya Rachel Ivgi2016-03-091-34/+44
| | | | | | | | Add debugfs entries to get the ctdp budget average and to stop ctdp. Signed-off-by: Chaya Rachel Ivgi <[email protected]> Signed-off-by: Emmanuel Grumbach <[email protected]>
* iwlwifi: mvm: avoid panics with thermal device usageEmmanuel Grumbach2016-03-061-26/+31
| | | | | | | | | | | | | | | | Thermal zone device registration can fail, and in this case we don't want to remove WiFi functionality. This is why the thermal zone registration function is void, and the flows continue even if the thermal zone device registration failed. Same applies for the cooling device. This means that we at least need to remember that the thermal zone device didn't register properly and take the minimal precautions to avoid panic'ing when we access it. This was missing. Signed-off-by: Emmanuel Grumbach <[email protected]>
* iwlwifi: mvm: add registration to cooling deviceChaya Rachel Ivgi2016-02-271-0/+147
| | | | | | | | | | | | Register cooling device in order to have the Thermal Manager handle the device's power budget according to the sent notifications. The interface adds a new thermal cooling device to /sys/class/thermal/ folder. Signed-off-by: Chaya Rachel Ivgi <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Signed-off-by: Emmanuel Grumbach <[email protected]>
* iwlwifi: mvm: add registration to thermal zoneChaya Rachel Ivgi2016-02-271-10/+277
| | | | | | | | | | | | | | Register to thermal_zone interface and implement the thermal ops. The thermal handles the device throttling, and sets the the temperature thresholds the Thermal Manager would be notified of crossing. The thermal interface adds a new thermal zone device sensor under /sys/class/thermal/ folder. Signed-off-by: Chaya Rachel Ivgi <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Signed-off-by: Emmanuel Grumbach <[email protected]>
* iwlwifi: mvm: add CT-KILL notificationChaya Rachel Ivgi2016-02-271-1/+26
| | | | | | | | | | | | Up to today the driver was notified of the temperature from the FW and decided whether to enter CT-kill or not. From now on, the FW will decide when to enter CT-kill and will notify the driver. Add support for this notification. Signed-off-by: Chaya Rachel Ivgi <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Signed-off-by: Emmanuel Grumbach <[email protected]>
* iwlwifi: mvm: add support for negative temperaturesChaya Rachel Ivgi2016-02-011-9/+8
| | | | | | | | | | The driver should support also negative temperatures. So there is a need to separate between the return value and temperature in order to be able to distinguish between a negative temperature and error value. Signed-off-by: Chaya Rachel Ivgi <[email protected]> Signed-off-by: Emmanuel Grumbach <[email protected]>
* iwlwifi: mvm: check minimum temperature notification lengthJohannes Berg2016-01-071-1/+1
| | | | | | | | | | This notification will be extended with extra data, so just check that it has a minimum length, not the exact length; we might later add handling for the extra fields added and have more code to handle both versions. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Emmanuel Grumbach <[email protected]>
* iwlwifi: change the Intel Wireless email addressEmmanuel Grumbach2015-12-011-1/+1
| | | | | | | [email protected] is not available anymore. [email protected] should be used instead. Signed-off-by: Emmanuel Grumbach <[email protected]>
* iwlwifi: move under intel vendor directoryKalle Valo2015-11-181-0/+460
Part of reorganising wireless drivers directory and Kconfig. Signed-off-by: Kalle Valo <[email protected]>