From 20b7ec099007e31bc52b79c36673af307bd54752 Mon Sep 17 00:00:00 2001 From: Mateusz Kulikowski Date: Mon, 13 Apr 2015 23:47:28 +0200 Subject: [PATCH] staging: rtl8192e: Remove bb tx gains from r8192_priv r8192_priv structure had 2 big arrays with tx gain register values: - cck_txbbgain_table - cck_txbbgain_ch14_table - txbbgain_table This arrays were read-only - filled in driver init code and look like firmware/chip-specific. This patch removes them from r8192_priv and puts them in (global) variables. tx_bb_gain is also flattened - register values are stored in array; Amplification value can be calculated using dm_tx_bb_gain_idx_to_amplify(). Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed