Skip to content

Commit

Permalink
Removed non-ported features for KF2.
Browse files Browse the repository at this point in the history
There features should be added later if needed.

Signed-off-by: David Lin <dlin@marvell.com>
  • Loading branch information
yuhhaurlin committed Aug 28, 2017
1 parent 6714fc6 commit a6dd207
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions core.c
Original file line number Diff line number Diff line change
Expand Up @@ -678,26 +678,18 @@ static int mwl_wl_init(struct mwl_priv *priv)
ieee80211_hw_set(hw, SIGNAL_DBM);
ieee80211_hw_set(hw, HAS_RATE_CONTROL);

if (priv->chip_type == MWL8997)
ieee80211_hw_set(hw, SUPPORTS_PS);

/* Ask mac80211 not to trigger PS mode
* based on PM bit of incoming frames.
*/
ieee80211_hw_set(hw, AP_LINK_PS);

ieee80211_hw_set(hw, SUPPORTS_PER_STA_GTK);
ieee80211_hw_set(hw, MFP_CAPABLE);
ieee80211_hw_set(hw, SPECTRUM_MGMT);

hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN;
hw->wiphy->flags |= WIPHY_FLAG_HAS_CHANNEL_SWITCH;
hw->wiphy->flags |= WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL;
hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS;

hw->wiphy->features |= NL80211_FEATURE_NEED_OBSS_SCAN;
hw->wiphy->max_remain_on_channel_duration = 5000;

hw->vif_data_size = sizeof(struct mwl_vif);
hw->sta_data_size = sizeof(struct mwl_sta);

Expand Down

0 comments on commit a6dd207

Please sign in to comment.