Patch "rtlwifi: rtl8192c: Add new definitions in the dm_common header" has been added to the 3.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    rtlwifi: rtl8192c: Add new definitions in the dm_common header

to the 3.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     rtlwifi-rtl8192c-add-new-definitions-in-the-dm_common-header.patch
and it can be found in the queue-3.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From c908c74e005de780fddbe8cb6fcd44803f5d4b74 Mon Sep 17 00:00:00 2001
From: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
Date: Mon, 18 Nov 2013 11:11:29 -0600
Subject: rtlwifi: rtl8192c: Add new definitions in the dm_common header

From: Larry Finger <Larry.Finger@xxxxxxxxxxxx>

commit c908c74e005de780fddbe8cb6fcd44803f5d4b74 upstream.

Changes in the gain-control mechanism will require some changes in the header.

Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
 drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

--- a/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h
+++ b/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.h
@@ -91,6 +91,17 @@
 #define TX_POWER_NEAR_FIELD_THRESH_LVL2		74
 #define TX_POWER_NEAR_FIELD_THRESH_LVL1		67
 
+#define DYNAMIC_FUNC_DISABLE			0x0
+#define DYNAMIC_FUNC_DIG			BIT(0)
+#define DYNAMIC_FUNC_HP				BIT(1)
+#define DYNAMIC_FUNC_SS				BIT(2) /*Tx Power Tracking*/
+#define DYNAMIC_FUNC_BT				BIT(3)
+#define DYNAMIC_FUNC_ANT_DIV			BIT(4)
+
+#define	RSSI_CCK				0
+#define	RSSI_OFDM				1
+#define	RSSI_DEFAULT				2
+
 struct swat_t {
 	u8 failure_cnt;
 	u8 try_flag;
@@ -167,5 +178,8 @@ void rtl92c_phy_lc_calibrate(struct ieee
 void rtl92c_phy_iq_calibrate(struct ieee80211_hw *hw, bool recovery);
 void rtl92c_dm_dynamic_txpower(struct ieee80211_hw *hw);
 void rtl92c_dm_bt_coexist(struct ieee80211_hw *hw);
+void dm_savepowerindex(struct ieee80211_hw *hw);
+void dm_writepowerindex(struct ieee80211_hw *hw, u8 value);
+void dm_restorepowerindex(struct ieee80211_hw *hw);
 
 #endif


Patches currently in stable-queue which might be from Larry.Finger@xxxxxxxxxxxx are

queue-3.10/b43-fix-lockdep-splat.patch
queue-3.10/staging-r8712u-set-device-type-to-wlan.patch
queue-3.10/rtlwifi-redo-register-save-locations.patch
queue-3.10/rtlwifi-rtl8192cu-add-new-device-id.patch
queue-3.10/rtlwifi-rtl8192c-add-new-definitions-in-the-dm_common-header.patch
queue-3.10/b43-fix-the-wrong-assignment-of-status.freq-in-b43_rx.patch
queue-3.10/b43-fix-unload-oops-if-firmware-is-not-available.patch
queue-3.10/rtlwifi-rtl8192cu-add-new-firmware.patch
queue-3.10/b43legacy-fix-unload-oops-if-firmware-is-not-available.patch
queue-3.10/rtlwifi-rtl8192cu-fix-some-code-in-rf-handling.patch
queue-3.10/rtlwifi-set-the-link-state.patch
queue-3.10/rtlwifi-increase-the-rx-queue-length-for-usb-drivers.patch
queue-3.10/rtlwifi-rtl8192c-add-routines-to-save-restore-power-index-registers.patch
queue-3.10/rtlwifi-rtl8192c-prevent-reconnect-attempts-if-not-connected.patch
queue-3.10/rtlwifi-rtl8188ee-fix-typo-in-code.patch
queue-3.10/rtlwifi-rtl8192cu-update-the-power-index-registers.patch
queue-3.10/rtlwifi-add-missing-code-to-pwdb-statics-routine.patch
queue-3.10/rtlwifi-update-beacon-statistics-for-usb-driver.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]