summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/11n.c
diff options
context:
space:
mode:
authorYogesh Ashok Powar <yogeshp@marvell.com>2011-03-24 20:49:38 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-04-04 16:20:00 -0400
commit0022801c893e953ebff8e0ad00cc22716055babf (patch)
tree2303759359ec0a7c4e56a8e26c3d720e1edaa330 /drivers/net/wireless/mwifiex/11n.c
parent1ed76487ce115110171480deabd3cd4656f9803e (diff)
downloadblackbird-op-linux-0022801c893e953ebff8e0ad00cc22716055babf.tar.gz
blackbird-op-linux-0022801c893e953ebff8e0ad00cc22716055babf.zip
mwifiex: remove helper functions for displaying 11n capabilities
'iw list' is sufficient to retrieve the information which was displayed by these functions. Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/11n.c')
-rw-r--r--drivers/net/wireless/mwifiex/11n.c96
1 files changed, 0 insertions, 96 deletions
diff --git a/drivers/net/wireless/mwifiex/11n.c b/drivers/net/wireless/mwifiex/11n.c
index 0e04a21be0a3..7b7b86d1ea3e 100644
--- a/drivers/net/wireless/mwifiex/11n.c
+++ b/drivers/net/wireless/mwifiex/11n.c
@@ -140,102 +140,6 @@ mwifiex_fill_cap_info(struct mwifiex_private *priv,
}
/*
- * Shows HT capability information fields.
- *
- * The following HT capability information fields are supported.
- * - Maximum AMSDU length (3839 bytes or 7935 bytes)
- * - Beam forming support
- * - Greenfield preamble support
- * - AMPDU support
- * - MIMO Power Save support
- * - Rx STBC support
- * - Tx STBC support
- * - Short GI for 20 MHz support
- * - Short GI for 40 MHz support
- * - LDPC coded packets receive support
- * - Number of delayed BA streams
- * - Number of immediate BA streams
- * - 10 MHz channel width support
- * - 20 MHz channel width support
- * - 40 MHz channel width support
- * - Presence of Tx antenna A/B/C/D
- * - Presence of Rx antenna A/B/C/D
- */
-void
-mwifiex_show_dot_11n_dev_cap(struct mwifiex_adapter *adapter, u32 cap)
-{
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: Max MSDU len = %s octets\n",
- (ISSUPP_MAXAMSDU(cap) ? "7935" : "3839"));
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: Beam forming %s\n",
- (ISSUPP_BEAMFORMING(cap) ? "supported" : "not supported"));
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: Greenfield preamble %s\n",
- (ISSUPP_GREENFIELD(cap) ? "supported" : "not supported"));
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: AMPDU %s\n",
- (ISSUPP_AMPDU(cap) ? "supported" : "not supported"));
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: MIMO Power Save %s\n",
- (ISSUPP_MIMOPS(cap) ? "supported" : "not supported"));
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: Rx STBC %s\n",
- (ISSUPP_RXSTBC(cap) ? "supported" : "not supported"));
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: Tx STBC %s\n",
- (ISSUPP_TXSTBC(cap) ? "supported" : "not supported"));
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: Short GI for 40 Mhz %s\n",
- (ISSUPP_SHORTGI40(cap) ? "supported" : "not supported"));
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: Short GI for 20 Mhz %s\n",
- (ISSUPP_SHORTGI20(cap) ? "supported" : "not supported"));
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: LDPC coded packet receive %s\n",
- (ISSUPP_RXLDPC(cap) ? "supported" : "not supported"));
- dev_dbg(adapter->dev,
- "info: GET_HW_SPEC: Number of Delayed Block Ack streams = %d\n",
- GET_DELAYEDBACK(cap));
- dev_dbg(adapter->dev,
- "info: GET_HW_SPEC: Number of Immediate Block Ack streams = %d\n",
- GET_IMMEDIATEBACK(cap));
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: 40 Mhz channel width %s\n",
- (ISSUPP_CHANWIDTH40(cap) ? "supported" : "not supported"));
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: 20 Mhz channel width %s\n",
- (ISSUPP_CHANWIDTH20(cap) ? "supported" : "not supported"));
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: 10 Mhz channel width %s\n",
- (ISSUPP_CHANWIDTH10(cap) ? "supported" : "not supported"));
-
- if (ISSUPP_RXANTENNAA(cap))
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: Prescence of Rx antennea A\n");
-
- if (ISSUPP_RXANTENNAB(cap))
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: Prescence of Rx antennea B\n");
-
- if (ISSUPP_RXANTENNAC(cap))
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: Prescence of Rx antennea C\n");
-
- if (ISSUPP_RXANTENNAD(cap))
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: Prescence of Rx antennea D\n");
-
- if (ISSUPP_TXANTENNAA(cap))
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: Prescence of Tx antennea A\n");
-
- if (ISSUPP_TXANTENNAB(cap))
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: Prescence of Tx antennea B\n");
-
- if (ISSUPP_TXANTENNAC(cap))
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: Prescence of Tx antennea C\n");
-
- if (ISSUPP_TXANTENNAD(cap))
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: Prescence of Tx antennea D\n");
-
- return;
-}
-
-/*
- * Shows HT MCS support field.
- */
-void
-mwifiex_show_dev_mcs_support(struct mwifiex_adapter *adapter, u8 support)
-{
- dev_dbg(adapter->dev, "info: GET_HW_SPEC: MCSs for %dx%d MIMO\n",
- GET_RXMCSSUPP(support), GET_TXMCSSUPP(support));
- return;
-}
-
-/*
* This function returns the pointer to an entry in BA Stream
* table which matches the requested BA status.
*/
OpenPOWER on IntegriCloud