Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66799
b: refs/heads/master
c: 93dc646
h: refs/heads/master
i:
  66797: 43ad6fb
  66795: e73a7ab
  66791: 966ad42
  66783: 757c446
v: v3
  • Loading branch information
Zhu Yi authored and David S. Miller committed Oct 10, 2007
1 parent a906a28 commit c141122
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 63fddb9f7f65b41277043344ae0d24dbbb451ada
refs/heads/master: 93dc646adb94127ca1c2e74275a85265ec57b9af
21 changes: 21 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1999,6 +1999,23 @@ static void rs_free_sta(void *priv, void *priv_sta)
}


#ifdef CONFIG_MAC80211_DEBUGFS
static void rs_add_debugfs(void *priv, void *priv_sta,
struct dentry *dir)
{
/* struct iwl_rate_scale_priv *rs_priv = priv_sta; */
IWL_DEBUG_RATE("%s enter\n", __FUNCTION__);
IWL_DEBUG_RATE("%s leave\n", __FUNCTION__);
}

static void rs_remove_debugfs(void *priv, void *priv_sta)
{
/* struct iwl_rate_scale_priv *rs_priv = priv_sta; */
IWL_DEBUG_RATE("%s enter\n", __FUNCTION__);
IWL_DEBUG_RATE("%s leave\n", __FUNCTION__);
}
#endif

static struct rate_control_ops rs_ops = {
.module = NULL,
.name = RS_NAME,
Expand All @@ -2010,6 +2027,10 @@ static struct rate_control_ops rs_ops = {
.free = rs_free,
.alloc_sta = rs_alloc_sta,
.free_sta = rs_free_sta,
#ifdef CONFIG_MAC80211_DEBUGFS
.add_sta_debugfs = rs_add_debugfs,
.remove_sta_debugfs = rs_remove_debugfs,
#endif
};

int iwl_fill_rs_info(struct ieee80211_hw *hw, char *buf, u8 sta_id)
Expand Down

0 comments on commit c141122

Please sign in to comment.