diff options
Diffstat (limited to 'drivers/net/wireless/libertas/rx.c')
-rw-r--r-- | drivers/net/wireless/libertas/rx.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/drivers/net/wireless/libertas/rx.c b/drivers/net/wireless/libertas/rx.c index a2b1df21d286..a3f4b55aa41f 100644 --- a/drivers/net/wireless/libertas/rx.c +++ b/drivers/net/wireless/libertas/rx.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /** | 1 | /* |
2 | * This file contains the handling of RX in wlan driver. | 2 | * This file contains the handling of RX in wlan driver. |
3 | */ | 3 | */ |
4 | #include <linux/etherdevice.h> | 4 | #include <linux/etherdevice.h> |
5 | #include <linux/slab.h> | 5 | #include <linux/slab.h> |
6 | #include <linux/types.h> | 6 | #include <linux/types.h> |
@@ -40,12 +40,12 @@ static int process_rxed_802_11_packet(struct lbs_private *priv, | |||
40 | struct sk_buff *skb); | 40 | struct sk_buff *skb); |
41 | 41 | ||
42 | /** | 42 | /** |
43 | * @brief This function processes received packet and forwards it | 43 | * lbs_process_rxed_packet - processes received packet and forwards it |
44 | * to kernel/upper layer | 44 | * to kernel/upper layer |
45 | * | 45 | * |
46 | * @param priv A pointer to struct lbs_private | 46 | * @priv: A pointer to &struct lbs_private |
47 | * @param skb A pointer to skb which includes the received packet | 47 | * @skb: A pointer to skb which includes the received packet |
48 | * @return 0 or -1 | 48 | * returns: 0 or -1 |
49 | */ | 49 | */ |
50 | int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *skb) | 50 | int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *skb) |
51 | { | 51 | { |
@@ -156,11 +156,11 @@ done: | |||
156 | EXPORT_SYMBOL_GPL(lbs_process_rxed_packet); | 156 | EXPORT_SYMBOL_GPL(lbs_process_rxed_packet); |
157 | 157 | ||
158 | /** | 158 | /** |
159 | * @brief This function converts Tx/Rx rates from the Marvell WLAN format | 159 | * convert_mv_rate_to_radiotap - converts Tx/Rx rates from Marvell WLAN format |
160 | * (see Table 2 in Section 3.1) to IEEE80211_RADIOTAP_RATE units (500 Kb/s) | 160 | * (see Table 2 in Section 3.1) to IEEE80211_RADIOTAP_RATE units (500 Kb/s) |
161 | * | 161 | * |
162 | * @param rate Input rate | 162 | * @rate: Input rate |
163 | * @return Output Rate (0 if invalid) | 163 | * returns: Output Rate (0 if invalid) |
164 | */ | 164 | */ |
165 | static u8 convert_mv_rate_to_radiotap(u8 rate) | 165 | static u8 convert_mv_rate_to_radiotap(u8 rate) |
166 | { | 166 | { |
@@ -196,12 +196,12 @@ static u8 convert_mv_rate_to_radiotap(u8 rate) | |||
196 | } | 196 | } |
197 | 197 | ||
198 | /** | 198 | /** |
199 | * @brief This function processes a received 802.11 packet and forwards it | 199 | * process_rxed_802_11_packet - processes a received 802.11 packet and forwards |
200 | * to kernel/upper layer | 200 | * it to kernel/upper layer |
201 | * | 201 | * |
202 | * @param priv A pointer to struct lbs_private | 202 | * @priv: A pointer to &struct lbs_private |
203 | * @param skb A pointer to skb which includes the received packet | 203 | * @skb: A pointer to skb which includes the received packet |
204 | * @return 0 or -1 | 204 | * returns: 0 or -1 |
205 | */ | 205 | */ |
206 | static int process_rxed_802_11_packet(struct lbs_private *priv, | 206 | static int process_rxed_802_11_packet(struct lbs_private *priv, |
207 | struct sk_buff *skb) | 207 | struct sk_buff *skb) |