aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/iwm/if_iwm_debug.h
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2017-06-04 21:10:14 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2017-06-04 21:10:14 +0000
commit19d956ec90801250cecbb72f8eca0a2c4bb2369d (patch)
treeea6c6f3a7b5bddd6d928c26512a705c95b118cff /sys/dev/iwm/if_iwm_debug.h
parentcd684deca9360b81fd2e83aa0d6d50e01e38768c (diff)
downloadsrc-19d956ec90801250cecbb72f8eca0a2c4bb2369d.tar.gz
src-19d956ec90801250cecbb72f8eca0a2c4bb2369d.zip
[iwm] Check for lar_disable tunable, and lar_enabled flag from NVM.
* LAR can be disabled with the hw.iwm.lar.disable tunable now. * On Family 8000 devices we need to check the lar_enabled flag from nvm_data in addition to the TLV_CAPA_LAR_SUPPORT flag from the firmware. * Add a separate IWM_DEBUG_LAR debugging flag. Obtained from: dragonflybsd.git 0593e39cb295aa996ecf789ed4990c3b255f1770
Notes
Notes: svn path=/head/; revision=319578
Diffstat (limited to 'sys/dev/iwm/if_iwm_debug.h')
-rw-r--r--sys/dev/iwm/if_iwm_debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/iwm/if_iwm_debug.h b/sys/dev/iwm/if_iwm_debug.h
index 94101eaf1736..2a2ac731288d 100644
--- a/sys/dev/iwm/if_iwm_debug.h
+++ b/sys/dev/iwm/if_iwm_debug.h
@@ -43,6 +43,7 @@ enum {
IWM_DEBUG_EEPROM = 0x00080000, /* EEPROM/channel information */
IWM_DEBUG_TEMP = 0x00100000, /* Thermal Sensor handling */
IWM_DEBUG_FW = 0x00200000, /* Firmware management */
+ IWM_DEBUG_LAR = 0x00400000, /* Location Aware Regulatory */
IWM_DEBUG_REGISTER = 0x20000000, /* print chipset register */
IWM_DEBUG_TRACE = 0x40000000, /* Print begin and start driver function */
IWM_DEBUG_FATAL = 0x80000000, /* fatal errors */