pull request: wireless-2.6 2008-11-18
Subsystems (4)
Dave,
Three fixes from Johannes, intended for 2.6.28... One fixes a 32/64 issue in libertas_tf, another removes a mac80211 callback only used by iwlwifi which is not obviously needed and which is causing locking issues, and a final one fixes some mysterious DMA alignment problems that have been plaguing iwlwifi for some time.
Please let me know if there are problems!
Thanks,
John
P.S. The libertas_tf is actually already in net-next-2.6. Also, the other fixes cause merge conflicts with net-next-2.6 -- I'll included a merge-test branch in wireless-next-2.6 to indicates how those conflicts should be resolved.
---
Individual patches are available here:
http://www.kernel.org/pub/linux/kernel/people/linville/wireless-2.6/
---
The following changes since commit 5f9021cfdc3524a4c5e3d7ae2d049eb7adcd6776:
Johannes Berg (1):
rtnetlink: propagate error from dev_change_flags in do_setlink()
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git master
Johannes Berg (3):
libertas_tf: fix skb tail pointer
mac80211: remove ieee80211_notify_mac
iwlagn: fix RX skb alignment
drivers/net/wireless/iwlwifi/iwl-agn.c | 7 +++---- drivers/net/wireless/iwlwifi/iwl-dev.h | 3 ++- drivers/net/wireless/iwlwifi/iwl-rx.c | 26 +++++++++++++++++--------- drivers/net/wireless/iwlwifi/iwl3945-base.c | 1 - drivers/net/wireless/libertas_tf/if_usb.c | 2 +- include/net/mac80211.h | 20 -------------------- net/mac80211/mlme.c | 22 ---------------------- 7 files changed, 23 insertions(+), 58 deletions(-)
drivers/net/wireless/iwlwifi/iwl-agn.c +3 -4
@@ -1384,7 +1384,7 @@ void iwl_rx_handle(struct iwl_priv *priv) rxq->queue[i] =NULL ; -pci_dma_sync_single_for_cpu (priv->pci_dev, rxb->dma_addr, +pci_dma_sync_single_for_cpu (priv->pci_dev, rxb->aligned_dma_addr, priv->hw_params.rx_buf_size,PCI_DMA_FROMDEVICE ); pkt = (struct iwl_rx_packet *)rxb->skb->data;
@@ -1436,8 +1436,8 @@ void iwl_rx_handle(struct iwl_priv *priv) rxb->skb =NULL ; } -pci_unmap_single (priv->pci_dev, rxb->dma_addr, - priv->hw_params.rx_buf_size, +pci_unmap_single (priv->pci_dev, rxb->real_dma_addr, + priv->hw_params.rx_buf_size +256 ,PCI_DMA_FROMDEVICE );spin_lock_irqsave (&rxq->lock, flags);list_add_tail (&rxb->list, &priv->rxq.rx_used);
@@ -2341,7 +2341,6 @@ static void iwl_bg_alive_start(struct work_struct *data)mutex_lock (&priv->mutex);iwl_alive_start (priv);mutex_unlock (&priv->mutex); -ieee80211_notify_mac (priv->hw,IEEE80211_NOTIFY_RE_ASSOC ); }static void iwl4965_bg_rf_kill (struct work_struct *work)
drivers/net/wireless/iwlwifi/iwl-dev.h +2 -1
@@ -89,7 +89,8 @@ extern struct iwl_cfg iwl5100_abg_cfg;#define DEFAULT_LONG_RETRY_LIMIT 4Ustruct iwl_rx_mem_buffer { -dma_addr_t dma_addr; +dma_addr_t real_dma_addr; +dma_addr_t aligned_dma_addr;struct sk_buff *skb;struct list_head list; };
drivers/net/wireless/iwlwifi/iwl-rx.c +17 -9
@@ -204,7 +204,7 @@ int iwl_rx_queue_restock(struct iwl_priv *priv)list_del (element);/* Point to Rx buffer via next RBD in circular buffer */ - rxq->bd[rxq->write] =iwl_dma_addr2rbd_ptr (priv, rxb->dma_addr); + rxq->bd[rxq->write] =iwl_dma_addr2rbd_ptr (priv, rxb->aligned_dma_addr); rxq->queue[rxq->write] = rxb; rxq->write = (rxq->write +1 ) &RX_QUEUE_MASK ; rxq->free_count--;
@@ -251,7 +251,7 @@ void iwl_rx_allocate(struct iwl_priv *priv) rxb = list_entry(element, struct iwl_rx_mem_buffer, list);/* Alloc a new receive buffer */ - rxb->skb =alloc_skb (priv->hw_params.rx_buf_size, + rxb->skb =alloc_skb (priv->hw_params.rx_buf_size +256 , __GFP_NOWARN |GFP_ATOMIC );if (!rxb->skb) {if (net_ratelimit ())
@@ -266,9 +266,17 @@ void iwl_rx_allocate(struct iwl_priv *priv)list_del (element);/* Get physical address of RB/SKB */ - rxb->dma_addr = -pci_map_single (priv->pci_dev, rxb->skb->data, - priv->hw_params.rx_buf_size,PCI_DMA_FROMDEVICE ); + rxb->real_dma_addr =pci_map_single ( + priv->pci_dev, + rxb->skb->data, + priv->hw_params.rx_buf_size +256 , +PCI_DMA_FROMDEVICE ); +/* dma address must be no more than 36 bits */ +BUG_ON (rxb->real_dma_addr & ~DMA_BIT_MASK (36 )); +/* and also 256 byte aligned! */ + rxb->aligned_dma_addr =ALIGN (rxb->real_dma_addr,256 ); +skb_reserve (rxb->skb, rxb->aligned_dma_addr - rxb->real_dma_addr); +list_add_tail (&rxb->list, &rxq->rx_free); rxq->free_count++; }
@@ -300,8 +308,8 @@ void iwl_rx_queue_free(struct iwl_priv *priv, struct iwl_rx_queue *rxq)for (i =0 ; i <RX_QUEUE_SIZE +RX_FREE_BUFFERS ; i++) {if (rxq->pool[i].skb !=NULL ) {pci_unmap_single (priv->pci_dev, - rxq->pool[i].dma_addr, - priv->hw_params.rx_buf_size, + rxq->pool[i].real_dma_addr, + priv->hw_params.rx_buf_size +256 ,PCI_DMA_FROMDEVICE );dev_kfree_skb (rxq->pool[i].skb); }
@@ -354,8 +362,8 @@ void iwl_rx_queue_reset(struct iwl_priv *priv, struct iwl_rx_queue *rxq)* to an SKB, so we need to unmap and free potential storage */ if (rxq->pool[i].skb !=NULL ) {pci_unmap_single (priv->pci_dev, - rxq->pool[i].dma_addr, - priv->hw_params.rx_buf_size, + rxq->pool[i].real_dma_addr, + priv->hw_params.rx_buf_size +256 ,PCI_DMA_FROMDEVICE ); priv->alloc_rxb_skb--;dev_kfree_skb (rxq->pool[i].skb);
drivers/net/wireless/iwlwifi/iwl3945-base.c +0 -1
@@ -6012,7 +6012,6 @@ static void iwl3945_bg_alive_start(struct work_struct *data)mutex_lock (&priv->mutex);iwl3945_alive_start (priv);mutex_unlock (&priv->mutex); -ieee80211_notify_mac (priv->hw,IEEE80211_NOTIFY_RE_ASSOC ); }static void iwl3945_bg_rf_kill (struct work_struct *work)
drivers/net/wireless/libertas_tf/if_usb.c +1 -1
@@ -331,7 +331,7 @@ static int __if_usb_submit_rx_urb(struct if_usb_card *cardp,/* Fill the receive configuration URB and initialise the Rx call back */ usb_fill_bulk_urb (cardp->rx_urb, cardp->udev,usb_rcvbulkpipe (cardp->udev, cardp->ep_in), - (void *) (skb->tail), +skb_tail_pointer (skb),MRVDRV_ETH_RX_PACKET_BUFFER_SIZE , callbackfn, cardp); cardp->rx_urb->transfer_flags |=URB_ZERO_PACKET ;
include/net/mac80211.h +0 -20
@@ -74,14 +74,6 @@*/ /** -* enum ieee80211_notification_type - Low level driver notification -* @IEEE80211_NOTIFY_RE_ASSOC: start the re-association sequence -*/ -enum ieee80211_notification_types { -IEEE80211_NOTIFY_RE_ASSOC , -}; - -/** * struct ieee80211_ht_bss_info - describing BSS's HT characteristics * * This structure describes most essential parameters needed
@@ -1798,18 +1790,6 @@ void ieee80211_stop_tx_ba_cb_irqsafe(struct ieee80211_hw *hw, const u8 *ra, u16 tid);/** -* ieee80211_notify_mac - low level driver notification -* @hw: pointer as obtained from ieee80211_alloc_hw(). -* @notif_type: enum ieee80211_notification_types -* -* This function must be called by low level driver to inform mac80211 of -* low level driver status change or force mac80211 to re-assoc for low -* level driver internal error that require re-assoc. -*/ -void ieee80211_notify_mac (struct ieee80211_hw *hw, -enum ieee80211_notification_types notif_type); - -/** * ieee80211_find_sta - find a station * * @hw: pointer as obtained from ieee80211_alloc_hw()
net/mac80211/mlme.c +0 -22
@@ -2560,25 +2560,3 @@ void ieee80211_mlme_notify_scan_completed(struct ieee80211_local *local)ieee80211_restart_sta_timer (sdata);rcu_read_unlock (); } - -/* driver notification call */ -void ieee80211_notify_mac (struct ieee80211_hw *hw, -enum ieee80211_notification_types notif_type) -{ -struct ieee80211_local *local =hw_to_local (hw); -struct ieee80211_sub_if_data *sdata; - -switch (notif_type) { -case IEEE80211_NOTIFY_RE_ASSOC : -rtnl_lock (); -list_for_each_entry (sdata, &local->interfaces, list) { -if (sdata->vif.type !=NL80211_IFTYPE_STATION ) -continue ; - -ieee80211_sta_req_auth (sdata, &sdata->u.sta); - } -rtnl_unlock (); -break ; - } -} -EXPORT_SYMBOL (ieee80211_notify_mac);
Signature · 2 lines
John W. Linville Linux should be at the core [email protected] of your literate lifestyle.
Johannes Berg
maintainerQuoted 7 lines
and a final one fixes some mysterious DMA alignment problems that have been plaguing iwlwifi for some time.
The following changes since commit
5f9021cfdc3524a4c5e3d7ae2d049eb7adcd6776:
Johannes Berg (1):
rtnetlink: propagate error fromdev_change_flagsindo_setlink()
heh.
Quoted 1 line
iwlagn: fix RX skb alignment
So Luis pointed out a bug in that, it might be useful to squish in this
patch: http://marc.info/?l=linux-wireless&m=122705425425763&w=2
(also below for reference)
But we can also just add it on top, whichever way you prefer.
johannes
--- drivers/net/wireless/iwlwifi/iwl-agn.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
drivers/net/wireless/iwlwifi/iwl-agn.c +5 -3
@@ -1229,9 +1229,11 @@ void iwl_rx_handle(struct iwl_priv *priv rxq->queue[i] =NULL ; -pci_dma_sync_single_for_cpu (priv->pci_dev, rxb->aligned_dma_addr, - priv->hw_params.rx_buf_size, -PCI_DMA_FROMDEVICE ); +dma_sync_single_range_for_cpu ( + &priv->pci_dev->dev, rxb->real_dma_addr, + rxb->aligned_dma_addr - rxb->real_dma_addr, + priv->hw_params.rx_buf_size, +PCI_DMA_FROMDEVICE ); pkt = (struct iwl_rx_packet *)rxb->skb->data;/* Reclaim a command buffer only if this packet is a response
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines · Johannes Berg
Quoted 7 lines
and a final one fixes some mysterious DMA alignment problems that have been plaguing iwlwifi for some time.
The following changes since commit
5f9021cfdc3524a4c5e3d7ae2d049eb7adcd6776:
Johannes Berg (1):
rtnetlink: propagate error fromdev_change_flagsindo_setlink()heh.
Quoted 8 lines
Quoted 1 line
iwlagn: fix RX skb alignment
So Luis pointed out a bug in that, it might be useful to squish in this
patch: http://marc.info/?l=linux-wireless&m=122705425425763&w=2(also below for reference)
But we can also just add it on top, whichever way you prefer.
I'll get it in the next run, soon.
John
Signature · 6 lines
John W. Linville Linux should be at the core [email protected] of your literate lifestyle. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 31 lines · John W. Linville
Dave,
Three fixes from Johannes, intended for 2.6.28... One fixes a 32/64 issue in
libertas_tf, another removes a mac80211 callback only used by iwlwifi which is not obviously needed and which is causing locking issues, and a final one fixes some mysterious DMA alignment problems that have been plaguing iwlwifi for some time.Please let me know if there are problems!
Thanks,
John
P.S. Thelibertas_tfis actually already in net-next-2.6. Also, the other fixes cause merge conflicts with net-next-2.6 -- I'll included a merge-test branch in wireless-next-2.6 to indicates how those conflicts should be resolved.---
Individual patches are available here:
http://www.kernel.org/pub/linux/kernel/people/linville/wireless-2.6/
---
The following changes since commit
5f9021cfdc3524a4c5e3d7ae2d049eb7adcd6776:
Johannes Berg (1):
rtnetlink: propagate error fromdev_change_flagsindo_setlink()
Quoted 8 lines
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.gitmasterJohannes Berg (3):
libertas_tf: fix skb tail pointer
mac80211: removeieee80211_notify_mac
iwlagn: fix RX skb alignment
IMHO its premature pushing ttese 2 patches up, they came in yestrday and nobody here has run tthe code
Tomas
Quoted 223 lines
drivers/net/wireless/iwlwifi/iwl-agn.c | 7 +++---- drivers/net/wireless/iwlwifi/iwl-dev.h | 3 ++- drivers/net/wireless/iwlwifi/iwl-rx.c | 26 +++++++++++++++++--------- drivers/net/wireless/iwlwifi/iwl3945-base.c | 1 - drivers/net/wireless/libertas_tf/if_usb.c | 2 +- include/net/mac80211.h | 20 -------------------- net/mac80211/mlme.c | 22 ---------------------- 7 files changed, 23 insertions(+), 58 deletions(-)drivers/net/wireless/iwlwifi/iwl-agn.c +3
-4@@ -1384,7 +1384,7 @@ void iwl_rx_handle(struct iwl_priv *priv) rxq->queue[i] =NULL ; -pci_dma_sync_single_for_cpu (priv->pci_dev, rxb->dma_addr, +pci_dma_sync_single_for_cpu (priv->pci_dev, rxb->aligned_dma_addr, priv->hw_params.rx_buf_size,PCI_DMA_FROMDEVICE ); pkt = (struct iwl_rx_packet *)rxb->skb->data;@@ -1436,8 +1436,8 @@ void iwl_rx_handle(struct iwl_priv *priv) rxb->skb =NULL ; } -pci_unmap_single (priv->pci_dev, rxb->dma_addr, - priv->hw_params.rx_buf_size, +pci_unmap_single (priv->pci_dev, rxb->real_dma_addr, + priv->hw_params.rx_buf_size +256 ,PCI_DMA_FROMDEVICE );spin_lock_irqsave (&rxq->lock, flags);list_add_tail (&rxb->list, &priv->rxq.rx_used);@@ -2341,7 +2341,6 @@ static void iwl_bg_alive_start(struct work_struct *data)mutex_lock (&priv->mutex);iwl_alive_start (priv);mutex_unlock (&priv->mutex); -ieee80211_notify_mac (priv->hw,IEEE80211_NOTIFY_RE_ASSOC ); }static void iwl4965_bg_rf_kill (struct work_struct *work)drivers/net/wireless/iwlwifi/iwl-dev.h +2
-1@@ -89,7 +89,8 @@ extern struct iwl_cfg iwl5100_abg_cfg;#define DEFAULT_LONG_RETRY_LIMIT 4Ustruct iwl_rx_mem_buffer { -dma_addr_t dma_addr; +dma_addr_t real_dma_addr; +dma_addr_t aligned_dma_addr;struct sk_buff *skb;struct list_head list; };drivers/net/wireless/iwlwifi/iwl-rx.c +17
-9@@ -204,7 +204,7 @@ int iwl_rx_queue_restock(struct iwl_priv *priv)list_del (element);/* Point to Rx buffer via next RBD in circular buffer */ - rxq->bd[rxq->write] =iwl_dma_addr2rbd_ptr (priv, rxb->dma_addr); + rxq->bd[rxq->write] =iwl_dma_addr2rbd_ptr (priv, rxb->aligned_dma_addr); rxq->queue[rxq->write] = rxb; rxq->write = (rxq->write +1 ) &RX_QUEUE_MASK ; rxq->free_count--;@@ -251,7 +251,7 @@ void iwl_rx_allocate(struct iwl_priv *priv) rxb = list_entry(element, struct iwl_rx_mem_buffer, list);/* Alloc a new receive buffer */ - rxb->skb =alloc_skb (priv->hw_params.rx_buf_size, + rxb->skb =alloc_skb (priv->hw_params.rx_buf_size +256 , __GFP_NOWARN |GFP_ATOMIC );if (!rxb->skb) {if (net_ratelimit ())@@ -266,9 +266,17 @@ void iwl_rx_allocate(struct iwl_priv *priv)list_del (element);/* Get physical address of RB/SKB */ - rxb->dma_addr = -pci_map_single (priv->pci_dev, rxb->skb->data, - priv->hw_params.rx_buf_size,PCI_DMA_FROMDEVICE ); + rxb->real_dma_addr =pci_map_single ( + priv->pci_dev, + rxb->skb->data, + priv->hw_params.rx_buf_size +256 , +PCI_DMA_FROMDEVICE ); +/* dma address must be no more than 36 bits */ +BUG_ON (rxb->real_dma_addr & ~DMA_BIT_MASK (36 )); +/* and also 256 byte aligned! */ + rxb->aligned_dma_addr =ALIGN (rxb->real_dma_addr,256 ); +skb_reserve (rxb->skb, rxb->aligned_dma_addr - rxb->real_dma_addr); +list_add_tail (&rxb->list, &rxq->rx_free); rxq->free_count++; }@@ -300,8 +308,8 @@ void iwl_rx_queue_free(struct iwl_priv *priv, struct iwl_rx_queue *rxq)for (i =0 ; i <RX_QUEUE_SIZE +RX_FREE_BUFFERS ; i++) {if (rxq->pool[i].skb !=NULL ) {pci_unmap_single (priv->pci_dev, - rxq->pool[i].dma_addr, - priv->hw_params.rx_buf_size, + rxq->pool[i].real_dma_addr, + priv->hw_params.rx_buf_size +256 ,PCI_DMA_FROMDEVICE );dev_kfree_skb (rxq->pool[i].skb); }@@ -354,8 +362,8 @@ void iwl_rx_queue_reset(struct iwl_priv *priv, struct iwl_rx_queue *rxq)* to an SKB, so we need to unmap and free potential storage */ if (rxq->pool[i].skb !=NULL ) {pci_unmap_single (priv->pci_dev, - rxq->pool[i].dma_addr, - priv->hw_params.rx_buf_size, + rxq->pool[i].real_dma_addr, + priv->hw_params.rx_buf_size +256 ,PCI_DMA_FROMDEVICE ); priv->alloc_rxb_skb--;dev_kfree_skb (rxq->pool[i].skb);drivers/net/wireless/iwlwifi/iwl3945-base.c +0
-1@@ -6012,7 +6012,6 @@ static void iwl3945_bg_alive_start(struct work_struct *data)mutex_lock (&priv->mutex);iwl3945_alive_start (priv);mutex_unlock (&priv->mutex); -ieee80211_notify_mac (priv->hw,IEEE80211_NOTIFY_RE_ASSOC ); }static void iwl3945_bg_rf_kill (struct work_struct *work)drivers/net/wireless/libertas_tf/if_usb.c +1
-1@@ -331,7 +331,7 @@ static int __if_usb_submit_rx_urb(struct if_usb_card *cardp,/* Fill the receive configuration URB and initialise the Rx call back */ usb_fill_bulk_urb (cardp->rx_urb, cardp->udev,usb_rcvbulkpipe (cardp->udev, cardp->ep_in), - (void *) (skb->tail), +skb_tail_pointer (skb),MRVDRV_ETH_RX_PACKET_BUFFER_SIZE , callbackfn, cardp); cardp->rx_urb->transfer_flags |=URB_ZERO_PACKET ;include/net/mac80211.h +0
-20@@ -74,14 +74,6 @@*/ /** -* enum ieee80211_notification_type - Low level driver notification -* @IEEE80211_NOTIFY_RE_ASSOC: start the re-association sequence -*/ -enum ieee80211_notification_types { -IEEE80211_NOTIFY_RE_ASSOC , -}; - -/** * struct ieee80211_ht_bss_info - describing BSS's HT characteristics * * This structure describes most essential parameters needed @@ -1798,18 +1790,6 @@ void ieee80211_stop_tx_ba_cb_irqsafe(struct ieee80211_hw *hw, const u8 *ra, u16 tid);/** -* ieee80211_notify_mac - low level driver notification -* @hw: pointer as obtained from ieee80211_alloc_hw(). -* @notif_type: enum ieee80211_notification_types -* -* This function must be called by low level driver to inform mac80211 of -* low level driver status change or force mac80211 to re-assoc for low -* level driver internal error that require re-assoc. -*/ -void ieee80211_notify_mac (struct ieee80211_hw *hw, -enum ieee80211_notification_types notif_type); - -/** * ieee80211_find_sta - find a station * * @hw: pointer as obtained from ieee80211_alloc_hw() net/mac80211/mlme.c +0
-23@@ -2560,25 +2560,3 @@ void ieee80211_mlme_notify_scan_completed(struct ieee80211_local *local)ieee80211_restart_sta_timer (sdata);rcu_read_unlock (); } - -/* driver notification call */ -void ieee80211_notify_mac (struct ieee80211_hw *hw, -enum ieee80211_notification_types notif_type) -{ -struct ieee80211_local *local =hw_to_local (hw); -struct ieee80211_sub_if_data *sdata; - -switch (notif_type) { -case IEEE80211_NOTIFY_RE_ASSOC : -rtnl_lock (); -list_for_each_entry (sdata, &local->interfaces, list) { -if (sdata->vif.type !=NL80211_IFTYPE_STATION ) -continue ; - -ieee80211_sta_req_auth (sdata, &sdata->u.sta); - } -rtnl_unlock (); -break ; - } -} -EXPORT_SYMBOL (ieee80211_notify_mac); --John W. Linville Linux should be at the core
[email protected] of your literate lifestyle.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 37 lines · Tomas Winkler
Quoted 35 lines · John W. Linville
Dave,
Three fixes from Johannes, intended for 2.6.28... One fixes a 32/64 issue in
libertas_tf, another removes a mac80211 callback only used by iwlwifi which is not obviously needed and which is causing locking issues, and a final one fixes some mysterious DMA alignment problems that have been plaguing iwlwifi for some time.Please let me know if there are problems!
Thanks,
John
P.S. Thelibertas_tfis actually already in net-next-2.6. Also, the other fixes cause merge conflicts with net-next-2.6 -- I'll included a merge-test branch in wireless-next-2.6 to indicates how those conflicts should be resolved.---
Individual patches are available here:
http://www.kernel.org/pub/linux/kernel/people/linville/wireless-2.6/
---
The following changes since commit
5f9021cfdc3524a4c5e3d7ae2d049eb7adcd6776:
Johannes Berg (1):
rtnetlink: propagate error fromdev_change_flagsindo_setlink()are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.gitmaster
Quoted 7 lines
Quoted 4 lines
Johannes Berg (3):
libertas_tf: fix skb tail pointer
mac80211: removeieee80211_notify_mac
iwlagn: fix RX skb alignmentIMHO its premature pushing ttese 2 patches up, they came in yestrday and nobody here has run tthe code
Just checked our bug database, the ieee80211_notify_mac was introduced mainly to overcome HW bug when
receiver become deaf in heavy traffic such as ftp in noisy environment. Otherwise reconnection was too slow to keep ftp going. We need to check whether we are still hitting this before applying removal this function
Thanks
Tomas
Quoted 224 lines
Quoted 223 lines
drivers/net/wireless/iwlwifi/iwl-agn.c | 7 +++---- drivers/net/wireless/iwlwifi/iwl-dev.h | 3 ++- drivers/net/wireless/iwlwifi/iwl-rx.c | 26 +++++++++++++++++--------- drivers/net/wireless/iwlwifi/iwl3945-base.c | 1 - drivers/net/wireless/libertas_tf/if_usb.c | 2 +- include/net/mac80211.h | 20 -------------------- net/mac80211/mlme.c | 22 ---------------------- 7 files changed, 23 insertions(+), 58 deletions(-)drivers/net/wireless/iwlwifi/iwl-agn.c +3
-4@@ -1384,7 +1384,7 @@ void iwl_rx_handle(struct iwl_priv *priv) rxq->queue[i] =NULL ; -pci_dma_sync_single_for_cpu (priv->pci_dev, rxb->dma_addr, +pci_dma_sync_single_for_cpu (priv->pci_dev, rxb->aligned_dma_addr, priv->hw_params.rx_buf_size,PCI_DMA_FROMDEVICE ); pkt = (struct iwl_rx_packet *)rxb->skb->data;@@ -1436,8 +1436,8 @@ void iwl_rx_handle(struct iwl_priv *priv) rxb->skb =NULL ; } -pci_unmap_single (priv->pci_dev, rxb->dma_addr, - priv->hw_params.rx_buf_size, +pci_unmap_single (priv->pci_dev, rxb->real_dma_addr, + priv->hw_params.rx_buf_size +256 ,PCI_DMA_FROMDEVICE );spin_lock_irqsave (&rxq->lock, flags);list_add_tail (&rxb->list, &priv->rxq.rx_used);@@ -2341,7 +2341,6 @@ static void iwl_bg_alive_start(struct work_struct *data)mutex_lock (&priv->mutex);iwl_alive_start (priv);mutex_unlock (&priv->mutex); -ieee80211_notify_mac (priv->hw,IEEE80211_NOTIFY_RE_ASSOC ); }static void iwl4965_bg_rf_kill (struct work_struct *work)drivers/net/wireless/iwlwifi/iwl-dev.h +2
-1@@ -89,7 +89,8 @@ extern struct iwl_cfg iwl5100_abg_cfg;#define DEFAULT_LONG_RETRY_LIMIT 4Ustruct iwl_rx_mem_buffer { -dma_addr_t dma_addr; +dma_addr_t real_dma_addr; +dma_addr_t aligned_dma_addr;struct sk_buff *skb;struct list_head list; };drivers/net/wireless/iwlwifi/iwl-rx.c +17
-9@@ -204,7 +204,7 @@ int iwl_rx_queue_restock(struct iwl_priv *priv)list_del (element);/* Point to Rx buffer via next RBD in circular buffer */ - rxq->bd[rxq->write] =iwl_dma_addr2rbd_ptr (priv, rxb->dma_addr); + rxq->bd[rxq->write] =iwl_dma_addr2rbd_ptr (priv, rxb->aligned_dma_addr); rxq->queue[rxq->write] = rxb; rxq->write = (rxq->write +1 ) &RX_QUEUE_MASK ; rxq->free_count--;@@ -251,7 +251,7 @@ void iwl_rx_allocate(struct iwl_priv *priv) rxb = list_entry(element, struct iwl_rx_mem_buffer, list);/* Alloc a new receive buffer */ - rxb->skb =alloc_skb (priv->hw_params.rx_buf_size, + rxb->skb =alloc_skb (priv->hw_params.rx_buf_size +256 , __GFP_NOWARN |GFP_ATOMIC );if (!rxb->skb) {if (net_ratelimit ())@@ -266,9 +266,17 @@ void iwl_rx_allocate(struct iwl_priv *priv)list_del (element);/* Get physical address of RB/SKB */ - rxb->dma_addr = -pci_map_single (priv->pci_dev, rxb->skb->data, - priv->hw_params.rx_buf_size,PCI_DMA_FROMDEVICE ); + rxb->real_dma_addr =pci_map_single ( + priv->pci_dev, + rxb->skb->data, + priv->hw_params.rx_buf_size +256 , +PCI_DMA_FROMDEVICE ); +/* dma address must be no more than 36 bits */ +BUG_ON (rxb->real_dma_addr & ~DMA_BIT_MASK (36 )); +/* and also 256 byte aligned! */ + rxb->aligned_dma_addr =ALIGN (rxb->real_dma_addr,256 ); +skb_reserve (rxb->skb, rxb->aligned_dma_addr - rxb->real_dma_addr); +list_add_tail (&rxb->list, &rxq->rx_free); rxq->free_count++; }@@ -300,8 +308,8 @@ void iwl_rx_queue_free(struct iwl_priv *priv, struct iwl_rx_queue *rxq)for (i =0 ; i <RX_QUEUE_SIZE +RX_FREE_BUFFERS ; i++) {if (rxq->pool[i].skb !=NULL ) {pci_unmap_single (priv->pci_dev, - rxq->pool[i].dma_addr, - priv->hw_params.rx_buf_size, + rxq->pool[i].real_dma_addr, + priv->hw_params.rx_buf_size +256 ,PCI_DMA_FROMDEVICE );dev_kfree_skb (rxq->pool[i].skb); }@@ -354,8 +362,8 @@ void iwl_rx_queue_reset(struct iwl_priv *priv, struct iwl_rx_queue *rxq)* to an SKB, so we need to unmap and free potential storage */ if (rxq->pool[i].skb !=NULL ) {pci_unmap_single (priv->pci_dev, - rxq->pool[i].dma_addr, - priv->hw_params.rx_buf_size, + rxq->pool[i].real_dma_addr, + priv->hw_params.rx_buf_size +256 ,PCI_DMA_FROMDEVICE ); priv->alloc_rxb_skb--;dev_kfree_skb (rxq->pool[i].skb);drivers/net/wireless/iwlwifi/iwl3945-base.c +0
-1@@ -6012,7 +6012,6 @@ static void iwl3945_bg_alive_start(struct work_struct *data)mutex_lock (&priv->mutex);iwl3945_alive_start (priv);mutex_unlock (&priv->mutex); -ieee80211_notify_mac (priv->hw,IEEE80211_NOTIFY_RE_ASSOC ); }static void iwl3945_bg_rf_kill (struct work_struct *work)drivers/net/wireless/libertas_tf/if_usb.c +1
-1@@ -331,7 +331,7 @@ static int __if_usb_submit_rx_urb(struct if_usb_card *cardp,/* Fill the receive configuration URB and initialise the Rx call back */ usb_fill_bulk_urb (cardp->rx_urb, cardp->udev,usb_rcvbulkpipe (cardp->udev, cardp->ep_in), - (void *) (skb->tail), +skb_tail_pointer (skb),MRVDRV_ETH_RX_PACKET_BUFFER_SIZE , callbackfn, cardp); cardp->rx_urb->transfer_flags |=URB_ZERO_PACKET ;include/net/mac80211.h +0
-20@@ -74,14 +74,6 @@*/ /** -* enum ieee80211_notification_type - Low level driver notification -* @IEEE80211_NOTIFY_RE_ASSOC: start the re-association sequence -*/ -enum ieee80211_notification_types { -IEEE80211_NOTIFY_RE_ASSOC , -}; - -/** * struct ieee80211_ht_bss_info - describing BSS's HT characteristics * * This structure describes most essential parameters needed @@ -1798,18 +1790,6 @@ void ieee80211_stop_tx_ba_cb_irqsafe(struct ieee80211_hw *hw, const u8 *ra, u16 tid);/** -* ieee80211_notify_mac - low level driver notification -* @hw: pointer as obtained from ieee80211_alloc_hw(). -* @notif_type: enum ieee80211_notification_types -* -* This function must be called by low level driver to inform mac80211 of -* low level driver status change or force mac80211 to re-assoc for low -* level driver internal error that require re-assoc. -*/ -void ieee80211_notify_mac (struct ieee80211_hw *hw, -enum ieee80211_notification_types notif_type); - -/** * ieee80211_find_sta - find a station * * @hw: pointer as obtained from ieee80211_alloc_hw() net/mac80211/mlme.c +0
-23@@ -2560,25 +2560,3 @@ void ieee80211_mlme_notify_scan_completed(struct ieee80211_local *local)ieee80211_restart_sta_timer (sdata);rcu_read_unlock (); } - -/* driver notification call */ -void ieee80211_notify_mac (struct ieee80211_hw *hw, -enum ieee80211_notification_types notif_type) -{ -struct ieee80211_local *local =hw_to_local (hw); -struct ieee80211_sub_if_data *sdata; - -switch (notif_type) { -case IEEE80211_NOTIFY_RE_ASSOC : -rtnl_lock (); -list_for_each_entry (sdata, &local->interfaces, list) { -if (sdata->vif.type !=NL80211_IFTYPE_STATION ) -continue ; - -ieee80211_sta_req_auth (sdata, &sdata->u.sta); - } -rtnl_unlock (); -break ; - } -} -EXPORT_SYMBOL (ieee80211_notify_mac); --John W. Linville Linux should be at the core
[email protected] of your literate lifestyle.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 9 lines · Tomas Winkler
Quoted 8 lines · Tomas Winkler
Quoted 2 lines · John W. Linville
mac80211: remove
ieee80211_notify_mac
iwlagn: fix RX skb alignmentIMHO its premature pushing ttese 2 patches up, they came in yestrday and nobody here has run tthe code
Well, thanks for your opinion. Here is mine:
The iwlwifi drivers have been hitting these problems for months, and I have seen no effort by your team to address the problems. It is possible that your team is working on them behind closed doors and will eventually throw something over the wall to us. I'm tired of waiting for that, and I imagine that hordes of iwlagn users are tired of waiting as well.
Johannes has presented us with plausible fixes, and people are reporting that the patches work for them. I can merge these patches, or wait/hope/pray for some to come from your team. Experience suggests that if fixes do come from your team that they will either be buried in some monster patch that largely addresses something else, or that the patches will arrive with a changelog that is terse and/or unintelligble. Subsequently, I am not optimistic about waiting.
I think Johannes cited four different bugzilla.kernel.org entries between those two patches. What is your team doing to address those bugs?
Obviously, I still think that those patches should be merged.
Quoted 6 lines
Just checked our bug database, the
ieee80211_notify_macwas introduced mainly to overcome HW bug when
receiver become deaf in heavy traffic such as ftp in noisy environment. Otherwise reconnection was too slow to keep ftp going. We need to check whether we are still hitting this before applying removal this function
You are welcome to submit patches that address your hardware issue and which do not introduce locking problems.
Thanks,
John
Signature · 6 lines
John W. Linville Linux should be at the core [email protected] of your literate lifestyle. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · John W. Linville
Quoted 7 lines · Tomas Winkler
Quoted 6 lines · Tomas Winkler
Quoted 2 lines · John W. Linville
mac80211: remove
ieee80211_notify_mac
iwlagn: fix RX skb alignment
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
IMHO its premature pushing ttese 2 patches up, they came in yestrday and nobody here has run tthe code
Well, thanks for your opinion. Here is mine:
The iwlwifi drivers have been hitting these problems for months, and I have seen no effort by your team to address the problems.
There is a lot of effort to solve this I'm not sure what mailing list are u reading.
We even presented test patches with alignment issues as Johannes few month ago but
we didn't get the feedback that it hit anything. So you are totally off here.
Quoted 4 lines
It is possible that your team is working on them behind closed doors and will eventually throw something over the wall to us. I'm tired of waiting for that, and I imagine that hordes of iwlagn users are tired of waiting as well.
This is embarrassing also for us that we cannot locate this specific problem but it not like we are not doing anything.Not sure there are other examples that we are not addressing bugs promptly.
Quoted 2 lines
Johannes has presented us with plausible fixes, and people are reporting that the patches work for them.
I'm not against merging these patches to wireless-testing but pushing them upstream before testing them
is just plainly wrong and all I asked for to test them. You are presenting here double standards here.
I can merge these patches,
Quoted 5 lines
or wait/hope/pray for some to come from your team. Experience suggests that if fixes do come from your team that they will either be buried in some monster patch that largely addresses something else, or that the patches will arrive with a changelog that is terse and/or unintelligble. Subsequently, I am not optimistic about waiting.
I've believe that we are addressing all the complains above and currently if you are not seeing this I'm really sorry.
Quoted 3 lines
I think Johannes cited four different bugzilla.kernel.org entries between those two patches. What is your team doing to address those bugs?
Again you are not reading the mailing list and not the bugs logs.
Quoted 2 lines
Obviously, I still think that those patches should be merged.
I'm not against just give it day or two to run it. We have for example nightly regression builds with publicly available results why you cannot wait till we can run? I think you've hurried to push it up just as a statement forgetting of possible regressions.
Quoted 10 lines
Quoted 7 lines
Just checked our bug database, the
ieee80211_notify_macwas introduced mainly to overcome HW bug when
receiver become deaf in heavy traffic such as ftp in noisy environment. Otherwise reconnection was too slow to keep ftp going. We need to check whether we are still hitting this before applying removal this functionYou are welcome to submit patches that address your hardware issue and which do not introduce locking problems.
That was my suggestion that we fix it and I believe we have normal discussion about it till you took your eager pushing steps. Replacing one regression with another is just not sane.
Thanks
Tomas
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 15 lines · Tomas Winkler
Quoted 13 lines · John W. Linville
Quoted 9 lines · Tomas Winkler
Quoted 8 lines · Tomas Winkler
Quoted 2 lines · John W. Linville
mac80211: remove
ieee80211_notify_mac
iwlagn: fix RX skb alignmentIMHO its premature pushing ttese 2 patches up, they came in yestrday and nobody here has run tthe code
Well, thanks for your opinion. Here is mine:
Quoted 8 lines
Quoted 2 lines
The iwlwifi drivers have been hitting these problems for months, and I have seen no effort by your team to address the problems.
There is a lot of effort to solve this I'm not sure what mailing list are u reading.
We even presented test patches with alignment issues as Johannes few month ago but
we didn't get the feedback that it hit anything. So you are totally off here.
Citation needed. All I see is Johannes' patch followed by your FUD.
Quoted 9 lines
Quoted 4 lines
It is possible that your team is working on them behind closed doors and will eventually throw something over the wall to us. I'm tired of waiting for that, and I imagine that hordes of iwlagn users are tired of waiting as well.
This is embarrassing also for us that we cannot locate this specific problem but it not like we are not doing anything.Not sure there are other examples that we are not addressing bugs promptly.
Quoted 7 lines
Quoted 2 lines
Johannes has presented us with plausible fixes, and people are reporting that the patches work for them.
I'm not against merging these patches to wireless-testing but pushing them upstream before testing them
is just plainly wrong and all I asked for to test them. You are presenting here double standards here.
Others have tested it already.
Quoted 9 lines
I can merge these patches,
Quoted 5 lines
or wait/hope/pray for some to come from your team. Experience suggests that if fixes do come from your team that they will either be buried in some monster patch that largely addresses something else, or that the patches will arrive with a changelog that is terse and/or unintelligble. Subsequently, I am not optimistic about waiting.
I've believe that we are addressing all the complains above and currently if you are not seeing this I'm really sorry.
I'm not seeing it.
Quoted 5 lines
Quoted 3 lines
I think Johannes cited four different bugzilla.kernel.org entries between those two patches. What is your team doing to address those bugs?
Again you are not reading the mailing list and not the bugs logs.
http://bugzilla.kernel.org/show_bug.cgi?id=11731
http://bugzilla.kernel.org/show_bug.cgi?id=11818
http://bugzilla.kernel.org/show_bug.cgi?id=11923
http://bugzilla.kernel.org/show_bug.cgi?id=11983
http://bugzilla.kernel.org/show_bug.cgi?id=12017
http://bugzilla.kernel.org/show_bug.cgi?id=12044
http://bugzilla.kernel.org/show_bug.cgi?id=12046
Those are only the ones not assigned to a specific person. Yet, each of them has a member of your team CC'ed. Also, I made no effort to track-down the ones in vendor bugzillas.
Quoted 6 lines
Quoted 1 line
Obviously, I still think that those patches should be merged.
I'm not against just give it day or two to run it. We have for example nightly regression builds with publicly available results why you cannot wait till we can run? I think you've hurried to push it up just as a statement forgetting of possible regressions.
I merely did not wait for your blessing, mostly because I have no idea when it might come.
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Just checked our bug database, the
ieee80211_notify_macwas introduced mainly to overcome HW bug when
receiver become deaf in heavy traffic such as ftp in noisy environment. Otherwise reconnection was too slow to keep ftp going. We need to check whether we are still hitting this before applying removal this function
Quoted 6 lines
Quoted 2 lines
You are welcome to submit patches that address your hardware issue and which do not introduce locking problems.
That was my suggestion that we fix it and I believe we have normal discussion about it till you took your eager pushing steps. Replacing one regression with another is just not sane.
ieee80211_notify_mac is creating locking problems. I'd rather hit a few disconnects than endure locking problems.
Now, if you could put as much energy into fixing these issues as you are putting into arguing with me or anyone else contradicting you...
John
Signature · 6 lines
John W. Linville Linux should be at the core [email protected] of your literate lifestyle. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 19 lines · John W. Linville
Quoted 18 lines · Tomas Winkler
Quoted 15 lines · John W. Linville
Quoted 9 lines · Tomas Winkler
Quoted 8 lines · Tomas Winkler
Quoted 2 lines · John W. Linville
mac80211: remove
ieee80211_notify_mac
iwlagn: fix RX skb alignmentIMHO its premature pushing ttese 2 patches up, they came in yestrday and nobody here has run tthe code
Well, thanks for your opinion. Here is mine:
The iwlwifi drivers have been hitting these problems for months, and I have seen no effort by your team to address the problems.
Quoted 8 lines
Quoted 5 lines
There is a lot of effort to solve this I'm not sure what mailing list are u reading.
We even presented test patches with alignment issues as Johannes few month ago but
we didn't get the feedback that it hit anything. So you are totally off here.Citation needed. All I see is Johannes' patch followed by your FUD.
http://marc.info/?l=linux-wireless&m=122549613209468&w=2,
there is Yi's patch also mentioned int in the Johannes commit. unfortunately there was a programming typo in it.
There is named 'iwlwifi: get some more information about command failure' in your pull request you've just issued!!!
Quoted 12 lines
Quoted 12 lines
Quoted 4 lines
It is possible that your team is working on them behind closed doors and will eventually throw something over the wall to us. I'm tired of waiting for that, and I imagine that hordes of iwlagn users are tired of waiting as well.
This is embarrassing also for us that we cannot locate this specific problem but it not like we are not doing anything.Not sure there are other examples that we are not addressing bugs promptly.
Quoted 2 lines
Johannes has presented us with plausible fixes, and people are reporting that the patches work for them.
Quoted 6 lines
Quoted 4 lines
I'm not against merging these patches to wireless-testing but pushing them upstream before testing them
is just plainly wrong and all I asked for to test them. You are presenting here double standards here.Others have tested it already.
You cannot be serious about 5 minute testing. We already have reports that it doesn't solve the issue completely.
Quoted 8 lines
Quoted 8 lines
I can merge these patches,
Quoted 5 lines
or wait/hope/pray for some to come from your team. Experience suggests that if fixes do come from your team that they will either be buried in some monster patch that largely addresses something else, or that the patches will arrive with a changelog that is terse and/or unintelligble. Subsequently, I am not optimistic about waiting.
Quoted 4 lines
Quoted 2 lines
I've believe that we are addressing all the complains above and currently if you are not seeing this I'm really sorry.
I'm not seeing i
I've resubmitted every patch you've had an issue with readability of the commit message so you should be first to see it.
Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
I think Johannes cited four different bugzilla.kernel.org entries between those two patches. What is your team doing to address those bugs?
Again you are not reading the mailing list and not the bugs logs.
Quoted 8 lines
http://bugzilla.kernel.org/show_bug.cgi?id=11731
http://bugzilla.kernel.org/show_bug.cgi?id=11818
http://bugzilla.kernel.org/show_bug.cgi?id=11923
http://bugzilla.kernel.org/show_bug.cgi?id=11983
http://bugzilla.kernel.org/show_bug.cgi?id=12017
http://bugzilla.kernel.org/show_bug.cgi?id=12044
http://bugzilla.kernel.org/show_bug.cgi?id=12046
All of those are actively tracked by Yi as far as I can say.
Quoted 8 lines
Those are only the ones not assigned to a specific person. Yet, each of them has a member of your team CC'ed. Also, I made no effort to track-down the ones in vendor bugzillas.
Quoted 2 lines
Quoted 1 line
Obviously, I still think that those patches should be merged.
Quoted 7 lines
Quoted 4 lines
I'm not against just give it day or two to run it. We have for example nightly regression builds with publicly available results why you cannot wait till we can run? I think you've hurried to push it up just as a statement forgetting of possible regressions.
I merely did not wait for your blessing, mostly because I have no idea when it might come.
This just prove you are doing statements.
Quoted 15 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Just checked our bug database, the
ieee80211_notify_macwas introduced mainly to overcome HW bug when
receiver become deaf in heavy traffic such as ftp in noisy environment. Otherwise reconnection was too slow to keep ftp going. We need to check whether we are still hitting this before applying removal this functionQuoted 6 lines
Quoted 2 lines
You are welcome to submit patches that address your hardware issue and which do not introduce locking problems.
That was my suggestion that we fix it and I believe we have normal discussion about it till you took your eager pushing steps. Replacing one regression with another is just not sane.
Quoted 5 lines
ieee80211_notify_macis creating locking problems. I'd rather hit a few disconnects than endure locking problems.Now, if you could put as much energy into fixing these issues as you are putting into arguing with me or anyone else contradicting you...
I'm not a yes man and if I think differently I say so. It's legitimate to have another opinion and I'm really trying to keep it technical and I'm not ashamed to say if I'm wrong, but you people are so hostile from some unknown reason I just hope somebody in anthropology is making his doctoral thesis of it to explain it to me.
Tomas
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Tomas Winkler
Quoted 2 lines · John W. Linville
Now, if you could put as much energy into fixing these issues as you are putting into arguing with me or anyone else contradicting you...
I'm not a yes man and if I think differently I say so. It's legitimate to have another opinion and I'm really trying to keep it technical and I'm not ashamed to say if I'm wrong, but you people are so hostile from some unknown reason I just hope somebody in anthropology is making his doctoral thesis of it to explain it to me.
Of course! You are right and all the rest of us are wrong. How could I have been so stupid? Thank you for being so easy to work with while the rest of us are being so difficult.
Are you done?
John
Signature · 6 lines
John W. Linville Linux should be at the core [email protected] of your literate lifestyle. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 13 lines · John W. Linville
Quoted 11 lines · Tomas Winkler
Quoted 2 lines · John W. Linville
Now, if you could put as much energy into fixing these issues as you are putting into arguing with me or anyone else contradicting you...
I'm not a yes man and if I think differently I say so. It's legitimate to have another opinion and I'm really trying to keep it technical and I'm not ashamed to say if I'm wrong, but you people are so hostile from some unknown reason I just hope somebody in anthropology is making his doctoral thesis of it to explain it to me.
Quoted 4 lines
Of course! You are right and all the rest of us are wrong. How could I have been so stupid? Thank you for being so easy to work with while the rest of us are being so difficult.
Citing my self again ' I'm not ashamed to say if I'm wrong' I'm not always right and you be careful with majority
rightness it put whole nations into misery.
Quoted 1 line
Are you done?
Common John you've started that. Compare your IMHO with mine, it's not full of empty accusations. I'm not less frustrated with development process of mac80211 then you are with our, and if you see the history this is where we always clash. I think we also have valid points if you would care to listen.
Thanks
Tomas
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
David Miller
maintainerFrom: "John W. Linville" <[email protected]>
Date: Tue, 18 Nov 2008 19:07:19 -0500
Quoted 7 lines
Three fixes from Johannes, intended for 2.6.28... One fixes a 32/64 issue in
libertas_tf, another removes a mac80211 callback only used by iwlwifi which is not obviously needed and which is causing locking issues, and a final one fixes some mysterious DMA alignment problems that have been plaguing iwlwifi for some time.Please let me know if there are problems!
Pulled, thanks John.
Quoted 1 line · John W. Linville
Well, thanks for your opinion. Here is mine:
I have to say something here. Although not related to the original ieee80211_notify_mac change.
Quoted 6 lines
The iwlwifi drivers have been hitting these problems for months, and I have seen no effort by your team to address the problems. It is possible that your team is working on them behind closed doors and will eventually throw something over the wall to us. I'm tired of waiting for that, and I imagine that hordes of iwlagn users are tired of waiting as well.
This is not correct. We are tracing this problem in our bugzilla. And it is the open place. Much more people have used it for a much longer time even before the kernel bugzilla existed. If you take a look at the bug, you know how much effort we put on it:
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1703
Quoted 9 lines
Johannes has presented us with plausible fixes, and people are reporting that the patches work for them. I can merge these patches, or wait/hope/pray for some to come from your team. Experience suggests
that if fixes do come from your team that they will either be buried in some monster patch that largely addresses something else, or that the patches will arrive with a changelog that is terse and/or unintelligble. Subsequently, I am not optimistic about waiting.
Quoted 3 lines
I think Johannes cited four different bugzilla.kernel.org entries between those two patches. What is your team doing to address those bugs?
Johannes' effort is great and should certainly be praised. But looking down upon Intel's effort is nonsense. We suspected this alignment issue in the very beginning. But the set of users helped us to debug with this problem happened to have a different root cause than Johannes. Thus came with the alignment BUG_ON assert put into the code in case other people experience with it (unfortunately, it was a wrong one. As I had appologized for this already.)
The problem should at least have two causes. Johannes had resolved one of them. The other one (AFAICS) relates to be in an 11n AP environment (no need to be associated with it) and takes longer time to reproduce. We will keep tracking it whatever we you think us about it.
Thanks,
-yi
Hi Yi,
Quoted 7 lines
Quoted 6 lines
The iwlwifi drivers have been hitting these problems for months, and I have seen no effort by your team to address the problems. It is possible that your team is working on them behind closed doors and will eventually throw something over the wall to us. I'm tired of waiting for that, and I imagine that hordes of iwlagn users are tired of waiting as well.
Quoted 5 lines
This is not correct. We are tracing this problem in our bugzilla. And it is the open place. Much more people have used it for a much longer time even before the kernel bugzilla existed. If you take a look at the bug, you know how much effort we put on it:
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1703
and just relying on Bugzilla is not gonna be good enough. The Linux kernel development has always been done via mailing lists. And while there is a kernel and other Bugzillas, the main authority is still the mailing list. So if you wanna get massive feedback or have testing patches for debugging, then these need to be posted to linux-wireless and not "hidden" into a Bugzilla.
Using Bugzilla for tracking is perfectly fine, but you have to treat it as second citizen when it comes to upstream development. Reinette is trying to bridge the gap between the Bugzilla by pointing people to the patches in the Bugzilla when new reports come to the mailing list. And this has to be done more actively. I prefer if we remove any Bugzilla discussion for complicated issues to the mailing list.
If we really need it, then someone has to start a iwlwifi-debugging kernel tree that derives from wireless-testing where all patches are available via GIT and easy to review. Or ask John to create a iwlwifi-debugging branch in wireless-testing. I am happy to run such tree. And then use WARN() so I can just call kerneloops to push any stack traces.
Quoted 21 lines
Quoted 9 lines
Johannes has presented us with plausible fixes, and people are reporting that the patches work for them. I can merge these patches, or wait/hope/pray for some to come from your team. Experience suggests
that if fixes do come from your team that they will either be buried in some monster patch that largely addresses something else, or that the patches will arrive with a changelog that is terse and/or unintelligble. Subsequently, I am not optimistic about waiting.Quoted 3 lines
I think Johannes cited four different bugzilla.kernel.org entries between those two patches. What is your team doing to address those bugs?
Johannes' effort is great and should certainly be praised. But looking down upon Intel's effort is nonsense. We suspected this alignment issue in the very beginning. But the set of users helped us to debug with this problem happened to have a different root cause than Johannes. Thus came with the alignment
BUG_ONassert put into the code in case other people experience with it (unfortunately, it was a wrong one. As I had appologized for this already.)
Quoted 4 lines
The problem should at least have two causes. Johannes had resolved one of them. The other one (AFAICS) relates to be in an 11n AP environment (no need to be associated with it) and takes longer time to reproduce. We will keep tracking it whatever we you think us about it.
I do have a perfect environment in Vancouver that allows me to trigger this behavior within a few minutes. So if you really wanna debug this, then just send debug patches to the mailing list and I am happy to run such kernels. Only minor details is that you have to wait until the end of December before I am back there ;)
Regards
Marcel
Quoted 8 lines · Marcel Holtmann
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1703
and just relying on Bugzilla is not gonna be good enough. The Linux kernel development has always been done via mailing lists. And while there is a kernel and other Bugzillas, the main authority is still the mailing list. So if you wanna get massive feedback or have testing patches for debugging, then these need to be posted to linux-wireless and not "hidden" into a Bugzilla.
This is generally true for bugs easy to debug with. But in this example, the first reporter opened this bug 4 months ago. People usually don't follow thread for such a long time. There are also some reporters never show up in this ML.
Quoted 4 lines
I do have a perfect environment in Vancouver that allows me to trigger this behavior within a few minutes. So if you really wanna debug this, then just send debug patches to the mailing list and I am happy to run such kernels.
Can you still reproduce this bug with Johannes' patch?
Thanks,
-yi
Hi Yi,
Quoted 9 lines
Quoted 8 lines
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1703
and just relying on Bugzilla is not gonna be good enough. The Linux kernel development has always been done via mailing lists. And while there is a kernel and other Bugzillas, the main authority is still the mailing list. So if you wanna get massive feedback or have testing patches for debugging, then these need to be posted to linux-wireless and not "hidden" into a Bugzilla.
Quoted 4 lines
This is generally true for bugs easy to debug with. But in this example, the first reporter opened this bug 4 months ago. People usually don't follow thread for such a long time. There are also some reporters never show up in this ML.
true to some degree, but searching mailing list archives is a lot simpler then bug reports.
Quoted 6 lines
Quoted 4 lines
I do have a perfect environment in Vancouver that allows me to trigger this behavior within a few minutes. So if you really wanna debug this, then just send debug patches to the mailing list and I am happy to run such kernels.
Can you still reproduce this bug with Johannes' patch?
we will see once I am back in Vancouver. Will be some time in December though.
Regards
Marcel
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html