brcm80211: minor bug fixes for broadcom driver
cover brcm80211: minor bug fixes for broadcom driver
The series contains a number of patches to resolve some issues found in our brcmfmac regression testing. The brcmsmac changes are adressing a problem reported by several people within the community. Last patch in this series has been marked for stable tree.
This series is based on wireless-next repository and depends on the following patch message:
Message-ID: <[email protected]>
Arend van Spriel (6):
brcm80211: fmac: make brcmf_net_attach() static
brcm80211: fmac: remove primary mac address handling from
brcmf_net_attach
brcm80211: fmac: register primary net device with device mac address
brcm80211: smac: do not use US as fallback regulatory hint
brcm80211: smac: only provide valid regulatory hint
brcm80211: smac: resume transmit fifo upon receiving frames
Franky Lin (3):
brcm80211: fmac: add frame header extension support
brcm80211: fmac: postpone dongle RF enabling.
brcm80211: fmac: clean up chip id table
drivers/net/wireless/brcm80211/brcmfmac/dhd.h | 1 - drivers/net/wireless/brcm80211/brcmfmac/dhd_cdc.c | 1 + .../net/wireless/brcm80211/brcmfmac/dhd_common.c | 4 - .../net/wireless/brcm80211/brcmfmac/dhd_linux.c | 127 +++++++++++--------- drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c | 6 - drivers/net/wireless/brcm80211/brcmfmac/usb.c | 8 -- drivers/net/wireless/brcm80211/brcmsmac/channel.c | 36 ++++++- .../net/wireless/brcm80211/brcmsmac/mac80211_if.c | 6 +- drivers/net/wireless/brcm80211/brcmsmac/main.c | 8 ++ .../net/wireless/brcm80211/include/brcm_hw_ids.h | 40 ++----- 10 files changed, 124 insertions(+), 113 deletions(-)
Signature · 1 line
1.7.5.4
PATCH 1/9 brcm80211: fmac: make brcmf_net_attach() static
The function brcmf_net_attach() is only used within dhd_linux.c so it does not need to be extern. This patch makes the function static.
--- drivers/net/wireless/brcm80211/brcmfmac/dhd.h | 1 - .../net/wireless/brcm80211/brcmfmac/dhd_linux.c | 116 ++++++++++---------- 2 files changed, 58 insertions(+), 59 deletions(-)
drivers/net/wireless/brcm80211/brcmfmac/dhd.h +0 -1
@@ -632,7 +632,6 @@ extern const struct bcmevent_name bcmevent_names[];extern uint brcmf_c_mkiovar (char *name,char *data,uint datalen,char *buf,uint len); -extern int brcmf_net_attach (struct brcmf_pub *drvr,int idx);extern int brcmf_netdev_wait_pend8021x (struct net_device *ndev);extern s32 brcmf_exec_dcmd (struct net_device *dev,u32 cmd,void *arg,u32 len);
drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c +58 -58
128 lines not on this page · raw message
Signature · 1 line
1.7.5.4
PATCH 2/9 brcm80211: fmac: remove primary mac address handling from brcmf_net_attach
In reply to Arend van SprielThe mac address for the primary interface was handled different from the other interfaces. The code has been restructured such that the brcmf_net_attach function treats the interfaces equal.
--- .../net/wireless/brcm80211/brcmfmac/dhd_linux.c | 25 +++++++++---------- 1 files changed, 12 insertions(+), 13 deletions(-)
drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c +12 -13
@@ -843,27 +843,26 @@ static const struct net_device_ops brcmf_netdev_ops_pri = { .ndo_set_rx_mode = brcmf_netdev_set_multicast_list }; -static int brcmf_net_attach (struct brcmf_pub *drvr,int ifidx) +static int brcmf_net_attach (struct brcmf_if *ifp) { +struct brcmf_pub *drvr = ifp->drvr;struct net_device *ndev; -u8 temp_addr[ETH_ALEN ] = { -0x00 ,0x90 ,0x4c ,0x11 ,0x22 ,0x33 }; +u8 temp_addr[ETH_ALEN ]; -brcmf_dbg (TRACE ,"ifidx %d\n" , ifidx); +brcmf_dbg (TRACE ,"ifidx %d\n" , ifp->idx); - ndev = drvr->iflist[ifidx]->ndev; + ndev = drvr->iflist[ifp->idx]->ndev; ndev->netdev_ops = &brcmf_netdev_ops_pri;/* -* We have to use the primary MAC for virtual interfaces +* determine mac address to use */ -if (ifidx !=0 ) { -/* for virtual interfaces use the primary MAC */ +if (is_valid_ether_addr (ifp->mac_addr)) +memcpy (temp_addr, ifp->mac_addr,ETH_ALEN ); +else memcpy (temp_addr, drvr->mac,ETH_ALEN ); - } - -if (ifidx ==1 ) { +if (ifp->idx ==1 ) {brcmf_dbg (TRACE ,"ACCESS POINT MAC:\n" );/* ACCESSPOINT INTERFACE CASE */ temp_addr[0 ] |=0X02 ;/* set bit 2 ,
@@ -879,7 +878,7 @@ static int brcmf_net_attach(struct brcmf_pub *drvr, int ifidx)memcpy (ndev->dev_addr, temp_addr,ETH_ALEN );/* attach to cfg80211 for primary interface */ -if (!ifidx) { +if (!ifp->idx) { drvr->config =brcmf_cfg80211_attach (ndev, drvr->dev, drvr);if (drvr->config ==NULL ) {brcmf_dbg (ERROR ,"wl_cfg80211_attach failed\n" );
@@ -940,7 +939,7 @@ brcmf_add_if(struct device *dev, int ifidx, char *name, u8 *mac_addr)if (mac_addr !=NULL )memcpy (&ifp->mac_addr, mac_addr,ETH_ALEN ); -if (brcmf_net_attach (drvr, ifp->idx)) { +if (brcmf_net_attach (ifp)) {brcmf_dbg (ERROR ,"brcmf_net_attach failed" );free_netdev (ifp->ndev); drvr->iflist[ifidx] =NULL ;
Signature · 1 line
1.7.5.4
PATCH 3/9 brcm80211: fmac: register primary net device with device mac address
In reply to Arend van SprielThe primary net device was registered with a primary mac address and upon IFUP it was set to match the actual mac address from the device. This patch changes that and moves the brcmf_add_if() call to the common part of the driver.
--- .../net/wireless/brcm80211/brcmfmac/dhd_linux.c | 5 +++++ drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c | 6 ------ drivers/net/wireless/brcm80211/brcmfmac/usb.c | 8 -------- 3 files changed, 5 insertions(+), 14 deletions(-)
drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c +5 -0
@@ -1073,6 +1073,11 @@ int brcmf_bus_start(struct device *dev)if (ret <0 )return ret; +/* add primary networking interface */ + ret =brcmf_add_if (dev,0 ,"wlan%d" , drvr->mac); +if (ret <0 ) +return ret; +/* signal bus ready */ bus_if->state =BRCMF_BUS_DATA ;return 0 ;
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c +0 -6
@@ -3948,12 +3948,6 @@ void *brcmf_sdbrcm_probe(u32 regsva, struct brcmf_sdio_dev *sdiodev) } } -/* add interface and open for business */ -if (brcmf_add_if (bus->sdiodev->dev,0 ,"wlan%d" ,NULL )) { -brcmf_dbg (ERROR ,"Add primary net device interface failed!!\n" ); - goto fail; - } -return bus; fail:
drivers/net/wireless/brcm80211/brcmfmac/usb.c +0 -8
@@ -1383,14 +1383,6 @@ static int brcmf_usb_probe_cb(struct device *dev, const char *desc, goto fail; } -/* add interface and open for business */ - ret =brcmf_add_if (dev,0 ,"wlan%d" ,NULL ); -if (ret) { -brcmf_dbg (ERROR ,"Add primary net device interface failed!!\n" ); -brcmf_detach (dev); - goto fail; - } -return 0 ; fail:/* Release resources in reverse order */
Signature · 1 line
1.7.5.4
PATCH 4/9 brcm80211: fmac: add frame header extension support
In reply to Arend van SprielFrom: Franky Lin <[email protected]>
A header extension is introduced in the received frame to provide extra space for dongle information. This won't affect current supported chipset since the data_offset is 0. But it's necessary for adding support for future chipset.
--- drivers/net/wireless/brcm80211/brcmfmac/dhd_cdc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/wireless/brcm80211/brcmfmac/dhd_cdc.c +1 -0
@@ -421,6 +421,7 @@ int brcmf_proto_hdrpull(struct device *dev, int *ifidx, pktbuf->priority = h->priority &BDC_PRIORITY_MASK ;skb_pull (pktbuf,BDC_HEADER_LEN ); +skb_pull (pktbuf, h->data_offset <<2 );return 0 ; }
Signature · 1 line
1.7.5.4
PATCH 5/9 brcm80211: fmac: postpone dongle RF enabling.
In reply to Arend van SprielFrom: Franky Lin <[email protected]>
BRCMF_C_UP is the command that asks the firmware to enable RF of dongle. Some firmware initialization steps must be performed during RF is down. Postpone BRCMF_C_UP firing until brcmf_netdev_open get called to ensure firmware have enough time to finish initialization.
--- .../net/wireless/brcm80211/brcmfmac/dhd_common.c | 4 ---- .../net/wireless/brcm80211/brcmfmac/dhd_linux.c | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-)
drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c +0 -4
@@ -799,7 +799,6 @@ int brcmf_c_preinit_dcmds(struct brcmf_pub *drvr) {char iovbuf[BRCMF_EVENTING_MASK_LEN +12 ];/* Room for "event_msgs" + '\0' + bitvec */ -uint up =0 ;char buf[128 ], *ptr;u32 dongle_align = drvr->bus_if->align;u32 glom =0 ;
@@ -853,9 +852,6 @@ int brcmf_c_preinit_dcmds(struct brcmf_pub *drvr)brcmf_proto_cdc_set_dcmd (drvr,0 ,BRCMF_C_SET_VAR , iovbuf,sizeof (iovbuf)); -/* Force STA UP */ -brcmf_proto_cdc_set_dcmd (drvr,0 ,BRCMF_C_UP , (char *)&up,sizeof (up)); -/* Setup event_msgs */ brcmf_c_mkiovar ("event_msgs" , drvr->eventmask,BRCMF_EVENTING_MASK_LEN , iovbuf,sizeof (iovbuf));
drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c +5 -0
@@ -799,6 +799,7 @@ static int brcmf_netdev_open(struct net_device *ndev)struct brcmf_bus *bus_if = drvr->bus_if;u32 toe_ol;s32 ret =0 ; +uint up =0 ;brcmf_dbg (TRACE ,"ifidx %d\n" , ifp->idx);
@@ -822,6 +823,10 @@ static int brcmf_netdev_open(struct net_device *ndev) drvr->iflist[ifp->idx]->ndev->features &= ~NETIF_F_IP_CSUM ; } + +/* make sure RF is ready for work */ +brcmf_proto_cdc_set_dcmd (drvr,0 ,BRCMF_C_UP , (char *)&up,sizeof (up)); +/* Allow transmit calls */ netif_start_queue (ndev); drvr->bus_if->drvr_up = true;
Signature · 1 line
1.7.5.4
PATCH 6/9 brcm80211: fmac: clean up chip id table
In reply to Arend van SprielFrom: Franky Lin <[email protected]>
Remove unsupported chip ID and rearrange the list in alphabetical order
--- .../net/wireless/brcm80211/include/brcm_hw_ids.h | 40 +++++-------------- 1 files changed, 11 insertions(+), 29 deletions(-)
drivers/net/wireless/brcm80211/include/brcm_hw_ids.h +11 -29
@@ -17,17 +17,7 @@#ifndef _BRCM_HW_IDS_H_#define _BRCM_HW_IDS_H_ -#define BCM4325_D11DUAL_ID 0x431b -#define BCM4325_D11G_ID 0x431c -#define BCM4325_D11A_ID 0x431d - -#define BCM4329_D11N2G_ID 0x432f/* 4329 802.11n 2.4G device */ -#define BCM4329_D11N5G_ID 0x4330/* 4329 802.11n 5G device */ -#define BCM4329_D11NDUAL_ID 0x432e - -#define BCM4319_D11N_ID 0x4337/* 4319 802.11n dualband device */ -#define BCM4319_D11N2G_ID 0x4338/* 4319 802.11n 2.4G device */ -#define BCM4319_D11N5G_ID 0x4339/* 4319 802.11n 5G device */ +#define BCM4313_D11N2G_ID 0x4727/* 4313 802.11n 2.4G device */ #define BCM43224_D11N_ID 0x4353/* 43224 802.11n dualband device */ #define BCM43224_D11N_ID_VEN1 0x0576/* Vendor specific 43224 802.11n db */
@@ -37,23 +27,15 @@#define BCM43236_D11N_ID 0x4346/* 43236 802.11n dualband device */ #define BCM43236_D11N2G_ID 0x4347/* 43236 802.11n 2.4GHz device */ -#define BCM4313_D11N2G_ID 0x4727/* 4313 802.11n 2.4G device */ - -/* Chip IDs */ -#define BCM4313_CHIP_ID 0x4313/* 4313 chip id */ -#define BCM4319_CHIP_ID 0x4319/* 4319 chip id */ - -#define BCM43224_CHIP_ID 43224/* 43224 chipcommon chipid */ -#define BCM43225_CHIP_ID 43225/* 43225 chipcommon chipid */ -#define BCM43421_CHIP_ID 43421/* 43421 chipcommon chipid */ -#define BCM43235_CHIP_ID 43235/* 43235 chipcommon chipid */ -#define BCM43236_CHIP_ID 43236/* 43236 chipcommon chipid */ -#define BCM43238_CHIP_ID 43238/* 43238 chipcommon chipid */ -#define BCM4329_CHIP_ID 0x4329/* 4329 chipcommon chipid */ -#define BCM4325_CHIP_ID 0x4325/* 4325 chipcommon chipid */ -#define BCM4331_CHIP_ID 0x4331/* 4331 chipcommon chipid */ -#define BCM4336_CHIP_ID 0x4336/* 4336 chipcommon chipid */ -#define BCM4330_CHIP_ID 0x4330/* 4330 chipcommon chipid */ -#define BCM6362_CHIP_ID 0x6362/* 6362 chipcommon chipid */ +/* Chipcommon Core Chip IDs */ +#define BCM4313_CHIP_ID 0x4313 +#define BCM43224_CHIP_ID 43224 +#define BCM43225_CHIP_ID 43225 +#define BCM43235_CHIP_ID 43235 +#define BCM43236_CHIP_ID 43236 +#define BCM43238_CHIP_ID 43238 +#define BCM4329_CHIP_ID 0x4329 +#define BCM4330_CHIP_ID 0x4330 +#define BCM4331_CHIP_ID 0x4331#endif /* _BRCM_HW_IDS_H_ */
Signature · 1 line
1.7.5.4
PATCH 7/9 brcm80211: smac: do not use US as fallback regulatory hint
In reply to Arend van SprielThe brcmsmac driver provides the country code from sprom as a regulatory hint to cfg80211. When brcmsmac does not find a country code entry in the sprom it passes 'US' as regulatory hint. Better approach is to rely on the world regulatory domain in cfg80211/crda.
--- .../net/wireless/brcm80211/brcmsmac/mac80211_if.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-)
drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c +1 -5
@@ -1069,11 +1069,7 @@ static struct brcms_info *brcms_attach(struct bcma_device *pdev)wiphy_err (wl->wiphy,"%s: ieee80211_register_hw failed, status" "%d\n" , __func__, err); -if (wl->pub->srom_ccode[0 ]) - err =brcms_set_hint (wl, wl->pub->srom_ccode); -else - err =brcms_set_hint (wl,"US" ); -if (err) +if (wl->pub->srom_ccode[0 ] &&brcms_set_hint (wl, wl->pub->srom_ccode))wiphy_err (wl->wiphy,"%s: regulatory_hint failed, status %d\n" , __func__, err);
Signature · 1 line
1.7.5.4
Re: [PATCH 7/9] brcm80211: smac: do not use US as fallback regulatory hint
Quoted 18 lines · Arend van Spriel
The brcmsmac driver provides the country code from sprom as a regulatory hint to cfg80211. When brcmsmac does not find a country code entry in the sprom it passes 'US' as regulatory hint. Better approach is to rely on the world regulatory domain in cfg80211/crda.
Reviewed-by Pieter-Paul Giesberts <[email protected]>Reviewed-by Brett Rudley <[email protected]>Signed-off-by Arend van Spriel <[email protected]>--- .../net/wireless/brcm80211/brcmsmac/mac80211_if.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-)drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c +0
-0@@ -1069,11 +1069,7 @@ static struct brcms_info *brcms_attach(struct bcma_device *pdev) wiphy_err(wl->wiphy, "%s: ieee80211_register_hw failed, status"
drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c static struct brcms_info *brcms_attach(struct bcma_device *pdev) · line 1074
Quoted 10 lines
drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c +1
-5"%d\n", __func__, err); -if (wl->pub->srom_ccode[0 ]) - err =brcms_set_hint (wl, wl->pub->srom_ccode); -else - err =brcms_set_hint (wl,"US" ); -if (err) +if (wl->pub->srom_ccode[0 ] &&brcms_set_hint (wl, wl->pub->srom_ccode))wiphy_err (wl->wiphy,"%s: regulatory_hint failed, status %d\n" , __func__, err);
err no longer holds the return value from brcms_set_hint(), so it doesn't make sense to print it in the error message. The value will always be 0.
Seth
Re: [PATCH 7/9] brcm80211: smac: do not use US as fallback regulatory hint
Quoted 34 lines · Seth Forshee
Quoted 18 lines · Arend van Spriel
The brcmsmac driver provides the country code from sprom as a regulatory hint to cfg80211. When brcmsmac does not find a country code entry in the sprom it passes 'US' as regulatory hint. Better approach is to rely on the world regulatory domain in cfg80211/crda.
Reviewed-by Pieter-Paul Giesberts<[email protected]>Reviewed-by Brett Rudley<[email protected]>Signed-off-by Arend van Spriel<[email protected]>--- .../net/wireless/brcm80211/brcmsmac/mac80211_if.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-)drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c +0
-0@@ -1069,11 +1069,7 @@ static struct brcms_info *brcms_attach(struct bcma_device *pdev) wiphy_err(wl->wiphy, "%s: ieee80211_register_hw failed, status"drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c static struct brcms_info *brcms_attach(struct bcma_device *pdev) · line 1074
Quoted 10 lines
drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c +1
-5"%d\n", __func__, err); -if (wl->pub->srom_ccode[0 ]) - err =brcms_set_hint (wl, wl->pub->srom_ccode); -else - err =brcms_set_hint (wl,"US" ); -if (err) +if (wl->pub->srom_ccode[0 ]&&brcms_set_hint (wl, wl->pub->srom_ccode))wiphy_err (wl->wiphy,"%s: regulatory_hint failed, status %d\n" , __func__, err);err no longer holds the return value from
brcms_set_hint(), so it doesn't make sense to print it in the error message. The value will always be 0.
Quoted 3 lines
Seth
Thanks, Seth
John already applied this patch so I will fix it in a separate one.
Gr. AvS
PATCH 8/9 brcm80211: smac: only provide valid regulatory hint
In reply to Arend van SprielThe driver provides a regulatory hint to cfg80211 as obtained from the SPROM. Mostly, this will be a two-letter ISO country code. However, it may obtain special country code similar to the world regulatory domain as used in cfg80211. This patch avoids setting these special codes as the hint is lost to cfg80211.
--- drivers/net/wireless/brcm80211/brcmsmac/channel.c | 36 ++++++++++++++++++++- 1 files changed, 35 insertions(+), 1 deletions(-)
drivers/net/wireless/brcm80211/brcmsmac/channel.c +35 -1
@@ -628,6 +628,40 @@ brcms_c_country_aggregate_map(struct brcms_cm_info *wlc_cm, const char *ccode,return false; } +/* +* Indicates whether the country provided is valid to pass +* to cfg80211 or not. +* +* returns true if valid; false if not. +*/ +static bool brcms_c_country_valid (const char *ccode) +{ +/* +* only allow ascii alpha uppercase for the first 2 +* chars. +*/ +if (!((0x80 & ccode[0 ]) ==0 && ccode[0 ] >=0x41 && ccode[0 ] <=0x5A && + (0x80 & ccode[1 ]) ==0 && ccode[1 ] >=0x41 && ccode[1 ] <=0x5A && + ccode[2 ] =='\0' )) +return false; + +/* +* do not match ISO 3166-1 user assigned country codes +* that may be in the driver table +*/ +if (!strcmp ("AA" , ccode) ||/* AA */ + !strcmp ("ZZ" , ccode) ||/* ZZ */ + ccode[0 ] =='X' ||/* XA - XZ */ + (ccode[0 ] =='Q' &&/* QM - QZ */ + (ccode[1 ] >='M' && ccode[1 ] <='Z' ))) +return false; + +if (!strcmp ("NA" , ccode)) +return false; + +return true; +} +/* Lookup a country info structure from a null terminated country * abbreviation and regrev directly with no translation. */
@@ -1089,7 +1123,7 @@ struct brcms_cm_info *brcms_c_channel_mgr_attach(struct brcms_c_info *wlc)/* store the country code for passing up as a regulatory hint */ ccode =getvar (wlc->hw->sih,BRCMS_SROM_CCODE ); -if (ccode) +if (ccode &&brcms_c_country_valid (ccode))strncpy (wlc->pub->srom_ccode, ccode,BRCM_CNTRY_BUF_SZ -1 );/*
Signature · 1 line
1.7.5.4
PATCH 9/9 brcm80211: smac: resume transmit fifo upon receiving frames
In reply to Arend van SprielThere have been reports about not being able to use access-points on channel 12 and 13 or having connectivity issues when these channels were part of the selected regulatory domain. Upon switching to these channels the brcmsmac driver suspends the transmit dma fifos. This patch resumes them upon handing over the first received beacon to mac80211.
This patch is to be applied to the stable tree for kernel versions 3.2 and 3.3.
--- drivers/net/wireless/brcm80211/brcmsmac/main.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
drivers/net/wireless/brcm80211/brcmsmac/main.c +8 -0
@@ -7614,6 +7614,7 @@ brcms_c_recvctl(struct brcms_c_info *wlc, struct d11rxhdr *rxh, {int len_mpdu;struct ieee80211_rx_status rx_status; +struct ieee80211_hdr *hdr;memset (&rx_status,0 ,sizeof (rx_status));prep_mac80211_status (wlc, rxh, p, &rx_status);
@@ -7623,6 +7624,13 @@ brcms_c_recvctl(struct brcms_c_info *wlc, struct d11rxhdr *rxh,skb_pull (p,D11_PHY_HDR_LEN );__skb_trim (p, len_mpdu); +/* unmute transmit */ +if (wlc->hw->suspended_fifos) { + hdr = (struct ieee80211_hdr *)p->data; +if (ieee80211_is_beacon (hdr->frame_control)) +brcms_b_mute (wlc->hw, false); + } +memcpy (IEEE80211_SKB_RXCB (p), &rx_status,sizeof (rx_status));ieee80211_rx_irqsafe (wlc->pub->ieee_hw, p); }
Signature · 1 line
1.7.5.4
Quoted 9 lines · Arend van Spriel
The series contains a number of patches to resolve some issues found in our brcmfmac regression testing. The brcmsmac changes are adressing a problem reported by several people within the community. Last patch in this series has been marked for stable tree.
This series is based on wireless-next repository and depends on the following patch message:
Message-ID: <[email protected]>
In general, when mixing fixes and features/updates into a single series then the fixes should come at the beginning of the series. This helps to avoid dependencies on non-fix patches.
I'll try to apply patch 9 to the wireless tree, and if that works I won't complain about it... :-)
John
Signature · 2 lines
John W. Linville Someday the world will need a hero, and you [email protected] might be all we have. Be ready.
Quoted 10 lines · John W. Linville
On Wed, Apr 11, 2012 at 11:52:42AM +0200, Arend van Spriel wrote:
In general, when mixing fixes and features/updates into a single series then the fixes should come at the beginning of the series. This helps to avoid dependencies on non-fix patches.
I'll try to apply patch 9 to the wireless tree, and if that works I won't complain about it... :-)
John
Like mentioned on collaboration summit, we may need a bit more education on how to deal with stable fixes. I tagged the patch with cc to stable, but not sure if that is the correct way to do it. The stable rules are written in a generic way so I want know how the picture looks like when moving patches upstream via a maintainer tree.
So here is my understanding:
1. submit patch without CC'ing stable against your wireless tree.
2. patch moves upstream to Dave's net tree.
3. patch moves further upstream to Linus' tree.
4. submit patch to stable with upstream commit id.
Is adding the CC to stable in step 1. a shortcut or is step 4. still necessary in that case?
Gr. AvS
Quoted 21 lines · Arend van Spriel
Quoted 10 lines · John W. Linville
On Wed, Apr 11, 2012 at 11:52:42AM +0200, Arend van Spriel wrote:
In general, when mixing fixes and features/updates into a single series then the fixes should come at the beginning of the series. This helps to avoid dependencies on non-fix patches.
I'll try to apply patch 9 to the wireless tree, and if that works I won't complain about it... :-)
John
Like mentioned on collaboration summit, we may need a bit more education on how to deal with stable fixes. I tagged the patch with cc to stable, but not sure if that is the correct way to do it. The stable rules are written in a generic way so I want know how the picture looks like when moving patches upstream via a maintainer tree.
So here is my understanding:
Quoted 7 lines
1. submit patch without CC'ing stable against your wireless tree.
2. patch moves upstream to Dave's net tree.
3. patch moves further upstream to Linus' tree.
4. submit patch to stable with upstream commit id.Is adding the CC to stable in step 1. a shortcut or is step 4. still necessary in that case?
Adding the CC in Step 1 should be sufficient. Step 4 is required if the CC is missed in Step 1.
Hth!
John
Signature · 2 lines
John W. Linville Someday the world will need a hero, and you [email protected] might be all we have. Be ready.