Correct typos and fix run-on sentences.
Unified · Split
| @@ -79,7 +79,7 @@ · 78 unmodified lines | |||
| 79 | * helpers for sanity checking. Drivers must ensure all work added onto the | 79 | * helpers for sanity checking. Drivers must ensure all work added onto the |
| 80 | * mac80211 workqueue should be cancelled on the driver stop() callback. | 80 | * mac80211 workqueue should be cancelled on the driver stop() callback. |
| 81 | * | 81 | * |
| 82 | * mac80211 will flushed the workqueue upon interface removal and during | 82 | * mac80211 will flush the workqueue upon interface removal and during |
| 83 | * suspend. | 83 | * suspend. |
| 84 | * | 84 | * |
| 85 | * All work performed on the mac80211 workqueue must not acquire the RTNL lock. | 85 | * All work performed on the mac80211 workqueue must not acquire the RTNL lock. |
| @@ -138,7 +138,7 @@ · 52 unmodified lines | |||
| 138 | * field to the frame RX timestamp and report the ack TX timestamp in the | 138 | * field to the frame RX timestamp and report the ack TX timestamp in the |
| 139 | * ieee80211_rx_status struct. | 139 | * ieee80211_rx_status struct. |
| 140 | * | 140 | * |
| 141 | * Similarly, To report hardware timestamps for Timing Measurement or Fine | 141 | * Similarly, to report hardware timestamps for Timing Measurement or Fine |
| 142 | * Timing Measurement frame TX, the driver should set the SKB's hwtstamp field | 142 | * Timing Measurement frame TX, the driver should set the SKB's hwtstamp field |
| 143 | * to the frame TX timestamp and report the ack RX timestamp in the | 143 | * to the frame TX timestamp and report the ack RX timestamp in the |
| 144 | * ieee80211_tx_status struct. | 144 | * ieee80211_tx_status struct. |
| @@ -3062,7 +3062,7 @@ void ieee80211_free_txskb(struct ieee80211_hw *hw, struct sk_buff *skb); · 2917 unmodified lines | |||
| 3062 | * The set_key() call for the %SET_KEY command should return 0 if | 3062 | * The set_key() call for the %SET_KEY command should return 0 if |
| 3063 | * the key is now in use, -%EOPNOTSUPP or -%ENOSPC if it couldn't be | 3063 | * the key is now in use, -%EOPNOTSUPP or -%ENOSPC if it couldn't be |
| 3064 | * added; if you return 0 then hw_key_idx must be assigned to the | 3064 | * added; if you return 0 then hw_key_idx must be assigned to the |
| 3065 | * hardware key index, you are free to use the full u8 range. | 3065 | * hardware key index. You are free to use the full u8 range. |
| 3066 | * | 3066 | * |
| 3067 | * Note that in the case that the @IEEE80211_HW_SW_CRYPTO_CONTROL flag is | 3067 | * Note that in the case that the @IEEE80211_HW_SW_CRYPTO_CONTROL flag is |
| 3068 | * set, mac80211 will not automatically fall back to software crypto if | 3068 | * set, mac80211 will not automatically fall back to software crypto if |
| @@ -3072,7 +3072,7 @@ void ieee80211_free_txskb(struct ieee80211_hw *hw, struct sk_buff *skb); · 3 unmodified lines | |||
| 3072 | * When the cmd is %DISABLE_KEY then it must succeed. | 3072 | * When the cmd is %DISABLE_KEY then it must succeed. |
| 3073 | * | 3073 | * |
| 3074 | * Note that it is permissible to not decrypt a frame even if a key | 3074 | * Note that it is permissible to not decrypt a frame even if a key |
| 3075 | * for it has been uploaded to hardware, the stack will not make any | 3075 | * for it has been uploaded to hardware. The stack will not make any |
| 3076 | * decision based on whether a key has been uploaded or not but rather | 3076 | * decision based on whether a key has been uploaded or not but rather |
| 3077 | * based on the receive flags. | 3077 | * based on the receive flags. |
| 3078 | * | 3078 | * |
| @@ -3087,7 +3087,7 @@ void ieee80211_free_txskb(struct ieee80211_hw *hw, struct sk_buff *skb); · 8 unmodified lines | |||
| 3087 | * The update_tkip_key() call updates the driver with the new phase 1 key. | 3087 | * The update_tkip_key() call updates the driver with the new phase 1 key. |
| 3088 | * This happens every time the iv16 wraps around (every 65536 packets). The | 3088 | * This happens every time the iv16 wraps around (every 65536 packets). The |
| 3089 | * set_key() call will happen only once for each key (unless the AP did | 3089 | * set_key() call will happen only once for each key (unless the AP did |
| 3090 | * rekeying), it will not include a valid phase 1 key. The valid phase 1 key is | 3090 | * rekeying); it will not include a valid phase 1 key. The valid phase 1 key is |
| 3091 | * provided by update_tkip_key only. The trigger that makes mac80211 call this | 3091 | * provided by update_tkip_key only. The trigger that makes mac80211 call this |
| 3092 | * handler is software decryption with wrap around of iv16. | 3092 | * handler is software decryption with wrap around of iv16. |
| 3093 | * | 3093 | * |
| @@ -3114,7 +3114,7 @@ void ieee80211_free_txskb(struct ieee80211_hw *hw, struct sk_buff *skb); · 20 unmodified lines | |||
| 3114 | * | 3114 | * |
| 3115 | * mac80211 has support for various powersave implementations. | 3115 | * mac80211 has support for various powersave implementations. |
| 3116 | * | 3116 | * |
| 3117 | * First, it can support hardware that handles all powersaving by itself, | 3117 | * First, it can support hardware that handles all powersaving by itself; |
| 3118 | * such hardware should simply set the %IEEE80211_HW_SUPPORTS_PS hardware | 3118 | * such hardware should simply set the %IEEE80211_HW_SUPPORTS_PS hardware |
| 3119 | * flag. In that case, it will be told about the desired powersave mode | 3119 | * flag. In that case, it will be told about the desired powersave mode |
| 3120 | * with the %IEEE80211_CONF_PS flag depending on the association status. | 3120 | * with the %IEEE80211_CONF_PS flag depending on the association status. |
| @@ -3139,12 +3139,12 @@ void ieee80211_free_txskb(struct ieee80211_hw *hw, struct sk_buff *skb); · 18 unmodified lines | |||
| 3139 | * %IEEE80211_HW_PS_NULLFUNC_STACK flags. The hardware is of course still | 3139 | * %IEEE80211_HW_PS_NULLFUNC_STACK flags. The hardware is of course still |
| 3140 | * required to pass up beacons. The hardware is still required to handle | 3140 | * required to pass up beacons. The hardware is still required to handle |
| 3141 | * waking up for multicast traffic; if it cannot the driver must handle that | 3141 | * waking up for multicast traffic; if it cannot the driver must handle that |
| 3142 | * as best as it can, mac80211 is too slow to do that. | 3142 | * as best as it can; mac80211 is too slow to do that. |
| 3143 | * | 3143 | * |
| 3144 | * Dynamic powersave is an extension to normal powersave in which the | 3144 | * Dynamic powersave is an extension to normal powersave in which the |
| 3145 | * hardware stays awake for a user-specified period of time after sending a | 3145 | * hardware stays awake for a user-specified period of time after sending a |
| 3146 | * frame so that reply frames need not be buffered and therefore delayed to | 3146 | * frame so that reply frames need not be buffered and therefore delayed to |
| 3147 | * the next wakeup. It's compromise of getting good enough latency when | 3147 | * the next wakeup. It's a compromise of getting good enough latency when |
| 3148 | * there's data traffic and still saving significantly power in idle | 3148 | * there's data traffic and still saving significantly power in idle |
| 3149 | * periods. | 3149 | * periods. |
| 3150 | * | 3150 | * |
| @@ -3209,7 +3209,7 @@ void ieee80211_free_txskb(struct ieee80211_hw *hw, struct sk_buff *skb); · 58 unmodified lines | |||
| 3209 | * Note that change, for the sake of simplification, also includes information | 3209 | * Note that change, for the sake of simplification, also includes information |
| 3210 | * elements appearing or disappearing from the beacon. | 3210 | * elements appearing or disappearing from the beacon. |
| 3211 | * | 3211 | * |
| 3212 | * Some hardware supports an "ignore list" instead, just make sure nothing | 3212 | * Some hardware supports an "ignore list" instead. Just make sure nothing |
| 3213 | * that was requested is on the ignore list, and include commonly changing | 3213 | * that was requested is on the ignore list, and include commonly changing |
| 3214 | * information element IDs in the ignore list, for example 11 (BSS load) and | 3214 | * information element IDs in the ignore list, for example 11 (BSS load) and |
| 3215 | * the various vendor-assigned IEs with unknown contents (128, 129, 133-136, | 3215 | * the various vendor-assigned IEs with unknown contents (128, 129, 133-136, |
| @@ -3220,7 +3220,7 @@ void ieee80211_free_txskb(struct ieee80211_hw *hw, struct sk_buff *skb); · 4 unmodified lines | |||
| 3220 | * In addition to these capabilities, hardware should support notifying the | 3220 | * In addition to these capabilities, hardware should support notifying the |
| 3221 | * host of changes in the beacon RSSI. This is relevant to implement roaming | 3221 | * host of changes in the beacon RSSI. This is relevant to implement roaming |
| 3222 | * when no traffic is flowing (when traffic is flowing we see the RSSI of | 3222 | * when no traffic is flowing (when traffic is flowing we see the RSSI of |
| 3223 | * the received data packets). This can consist in notifying the host when | 3223 | * the received data packets). This can consist of notifying the host when |
| 3224 | * the RSSI changes significantly or when it drops below or rises above | 3224 | * the RSSI changes significantly or when it drops below or rises above |
| 3225 | * configurable thresholds. In the future these thresholds will also be | 3225 | * configurable thresholds. In the future these thresholds will also be |
| 3226 | * configured by mac80211 (which gets them from userspace) to implement | 3226 | * configured by mac80211 (which gets them from userspace) to implement |
| @@ -3367,8 +3367,8 @@ void ieee80211_free_txskb(struct ieee80211_hw *hw, struct sk_buff *skb); · 140 unmodified lines | |||
| 3367 | * period starts for any reason, @release_buffered_frames is called | 3367 | * period starts for any reason, @release_buffered_frames is called |
| 3368 | * with the number of frames to be released and which TIDs they are | 3368 | * with the number of frames to be released and which TIDs they are |
| 3369 | * to come from. In this case, the driver is responsible for setting | 3369 | * to come from. In this case, the driver is responsible for setting |
| 3370 | * the EOSP (for uAPSD) and MORE_DATA bits in the released frames, | 3370 | * the EOSP (for uAPSD) and MORE_DATA bits in the released frames. |
| 3371 | * to help the @more_data parameter is passed to tell the driver if | 3371 | * To help the @more_data parameter is passed to tell the driver if |
| 3372 | * there is more data on other TIDs -- the TIDs to release frames | 3372 | * there is more data on other TIDs -- the TIDs to release frames |
| 3373 | * from are ignored since mac80211 doesn't know how many frames the | 3373 | * from are ignored since mac80211 doesn't know how many frames the |
| 3374 | * buffers for those TIDs contain. | 3374 | * buffers for those TIDs contain. |
| @@ -3417,7 +3417,7 @@ void ieee80211_free_txskb(struct ieee80211_hw *hw, struct sk_buff *skb); · 42 unmodified lines | |||
| 3417 | * Additionally, the driver has to then use these HW queue IDs for the queue | 3417 | * Additionally, the driver has to then use these HW queue IDs for the queue |
| 3418 | * management functions (ieee80211_stop_queue() et al.) | 3418 | * management functions (ieee80211_stop_queue() et al.) |
| 3419 | * | 3419 | * |
| 3420 | * The driver is free to set up the queue mappings as needed, multiple virtual | 3420 | * The driver is free to set up the queue mappings as needed; multiple virtual |
| 3421 | * interfaces may map to the same hardware queues if needed. The setup has to | 3421 | * interfaces may map to the same hardware queues if needed. The setup has to |
| 3422 | * happen during add_interface or change_interface callbacks. For example, a | 3422 | * happen during add_interface or change_interface callbacks. For example, a |
| 3423 | * driver supporting station+station and station+AP modes might decide to have | 3423 | * driver supporting station+station and station+AP modes might decide to have |
| @@ -7266,7 +7266,7 @@ ieee80211_return_txq(struct ieee80211_hw *hw, struct ieee80211_txq *txq, · 3842 unmodified lines | |||
| 7266 | * | 7266 | * |
| 7267 | * This function is used to check whether given txq is allowed to transmit by | 7267 | * This function is used to check whether given txq is allowed to transmit by |
| 7268 | * the airtime scheduler, and can be used by drivers to access the airtime | 7268 | * the airtime scheduler, and can be used by drivers to access the airtime |
| 7269 | * fairness accounting without going using the scheduling order enfored by | 7269 | * fairness accounting without using the scheduling order enforced by |
| 7270 | * next_txq(). | 7270 | * next_txq(). |
| 7271 | * | 7271 | * |
| 7272 | * Returns %true if the airtime scheduler thinks the TXQ should be allowed to | 7272 | * Returns %true if the airtime scheduler thinks the TXQ should be allowed to |