staging: brcm80211: more code cleanup and bug fixed
PATCH 116/119 staging: brcm80211: rename pointer conversion macros in wl_cfg80211.h
In reply to Franky LinFrom: Arend van Spriel <[email protected]>
The data structures in fullmac driver references are made easier by using provided macros in wl_cfg80211.h. The abbreviation 'wl' in these macros has been replaced by cfg or the macro has been removed if used only once.
--- drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c | 134 +++++++++++----------- drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h | 23 ++--- 2 files changed, 76 insertions(+), 81 deletions(-)
drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c +67 -67
@@ -323,12 +323,12 @@ static void brcmf_debugfs_remove_netdev(struct brcmf_cfg80211_priv *cfg_priv);WL_ERR ("wl_cfg80211_dev is unavailable\n" ); \BUG (); \ } \ -ci_to_wl (ci); \ + ci->cfg_priv; \ })#define CHECK_SYS_UP () \ do { \ - struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_wl(wiphy); \ + struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_cfg(wiphy); \ if (unlikely(!test_bit(WL_STATUS_READY, &cfg_priv->status))) { \ WL_INFO("device is not ready : status (%d)\n", \ (int)cfg_priv->status); \
@@ -561,7 +561,7 @@ brcmf_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev, enum nl80211_iftype type, u32 *flags, struct vif_params *params) { - struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_wl(wiphy); + struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_cfg(wiphy);struct wireless_dev *wdev;s32 infra =0 ;s32 err =0 ;
@@ -690,8 +690,8 @@ brcmf_run_iscan(struct brcmf_cfg80211_iscan_ctrl *iscan,static s32 brcmf_do_iscan (struct brcmf_cfg80211_priv *cfg_priv) { -struct brcmf_cfg80211_iscan_ctrl *iscan =wl_to_iscan (cfg_priv); -struct net_device *ndev =wl_to_ndev (cfg_priv); +struct brcmf_cfg80211_iscan_ctrl *iscan =cfg_to_iscan (cfg_priv); +struct net_device *ndev =cfg_to_ndev (cfg_priv);struct brcmf_ssid ssid;s32 passive_scan;s32 err =0 ;
@@ -702,7 +702,7 @@ static s32 brcmf_do_iscan(struct brcmf_cfg80211_priv *cfg_priv) iscan->state =WL_ISCAN_STATE_SCANING ; passive_scan = cfg_priv->active_scan ?0 :1 ; - err =brcmf_dev_ioctl (wl_to_ndev (cfg_priv),BRCMF_C_SET_PASSIVE_SCAN , + err =brcmf_dev_ioctl (cfg_to_ndev (cfg_priv),BRCMF_C_SET_PASSIVE_SCAN , &passive_scan,sizeof (passive_scan));if (unlikely (err)) {WL_ERR ("error (%d)\n" , err);
@@ -722,9 +722,9 @@ __brcmf_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,struct cfg80211_scan_request *request, struct cfg80211_ssid *this_ssid) { - struct brcmf_cfg80211_priv *cfg_priv = ndev_to_wl(ndev); + struct brcmf_cfg80211_priv *cfg_priv = ndev_to_cfg(ndev);struct cfg80211_ssid *ssids; -struct brcmf_cfg80211_scan_req *sr =wl_to_sr (cfg_priv); +struct brcmf_cfg80211_scan_req *sr = cfg_priv->scan_req_int;s32 passive_scan;bool iscan_req;bool spec_scan;
@@ -908,8 +908,8 @@ static s32 brcmf_set_retry(struct net_device *dev, u32 retry, bool l)static s32 brcmf_cfg80211_set_wiphy_params (struct wiphy *wiphy,u32 changed) { -struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_wl (wiphy); -struct net_device *ndev =wl_to_ndev (cfg_priv); +struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_cfg (wiphy); +struct net_device *ndev =cfg_to_ndev (cfg_priv);s32 err =0 ;WL_TRACE ("Enter\n" );
@@ -953,7 +953,7 @@ static s32 brcmf_cfg80211_join_ibss(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_ibss_params *params) { - struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_wl(wiphy); + struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_cfg(wiphy);struct brcmf_join_params join_params;size_t join_params_size =0 ;s32 err =0 ;
@@ -1096,7 +1096,7 @@ done:static s32 brcmf_cfg80211_leave_ibss (struct wiphy *wiphy,struct net_device *dev) { -struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_wl (wiphy); +struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_cfg (wiphy);s32 err =0 ;WL_TRACE ("Enter\n" );
@@ -1112,7 +1112,7 @@ static s32 brcmf_cfg80211_leave_ibss(struct wiphy *wiphy, struct net_device *devstatic s32 brcmf_set_wpa_version (struct net_device *dev,struct cfg80211_connect_params *sme) { -struct brcmf_cfg80211_priv *cfg_priv =ndev_to_wl (dev); +struct brcmf_cfg80211_priv *cfg_priv =ndev_to_cfg (dev);struct brcmf_cfg80211_security *sec;s32 val =0 ;s32 err =0 ;
@@ -1137,7 +1137,7 @@ brcmf_set_wpa_version(struct net_device *dev, struct cfg80211_connect_params *smstatic s32 brcmf_set_auth_type (struct net_device *dev,struct cfg80211_connect_params *sme) { -struct brcmf_cfg80211_priv *cfg_priv =ndev_to_wl (dev); +struct brcmf_cfg80211_priv *cfg_priv =ndev_to_cfg (dev);struct brcmf_cfg80211_security *sec;s32 val =0 ;s32 err =0 ;
@@ -1176,7 +1176,7 @@ brcmf_set_auth_type(struct net_device *dev, struct cfg80211_connect_params *sme)static s32 brcmf_set_set_cipher (struct net_device *dev,struct cfg80211_connect_params *sme) { -struct brcmf_cfg80211_priv *cfg_priv =ndev_to_wl (dev); +struct brcmf_cfg80211_priv *cfg_priv =ndev_to_cfg (dev);struct brcmf_cfg80211_security *sec;s32 pval =0 ;s32 gval =0 ;
@@ -1242,7 +1242,7 @@ brcmf_set_set_cipher(struct net_device *dev, struct cfg80211_connect_params *smestatic s32 brcmf_set_key_mgmt (struct net_device *dev,struct cfg80211_connect_params *sme) { -struct brcmf_cfg80211_priv *cfg_priv =ndev_to_wl (dev); +struct brcmf_cfg80211_priv *cfg_priv =ndev_to_cfg (dev);struct brcmf_cfg80211_security *sec;s32 val =0 ;s32 err =0 ;
@@ -1298,7 +1298,7 @@ static s32 brcmf_set_set_sharedkey(struct net_device *dev, struct cfg80211_connect_params *sme) { - struct brcmf_cfg80211_priv *cfg_priv = ndev_to_wl(dev); + struct brcmf_cfg80211_priv *cfg_priv = ndev_to_cfg(dev);struct brcmf_cfg80211_security *sec;struct brcmf_wsec_key key;s32 val;
@@ -1364,7 +1364,7 @@ static s32 brcmf_cfg80211_connect(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_connect_params *sme) { - struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_wl(wiphy); + struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_cfg(wiphy);struct ieee80211_channel *chan = sme->channel;struct brcmf_join_params join_params;size_t join_params_size;
@@ -1462,7 +1462,7 @@ static s32 brcmf_cfg80211_disconnect(struct wiphy *wiphy, struct net_device *dev, u16 reason_code) { - struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_wl(wiphy); + struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_cfg(wiphy);struct brcmf_scb_val scbval;s32 err =0 ;
@@ -1490,8 +1490,8 @@ brcmf_cfg80211_set_tx_power(struct wiphy *wiphy, enum nl80211_tx_power_setting type, s32 dbm) { -struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_wl (wiphy); -struct net_device *ndev =wl_to_ndev (cfg_priv); +struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_cfg (wiphy); +struct net_device *ndev =cfg_to_ndev (cfg_priv);u16 txpwrmw;s32 err =0 ;s32 disable =0 ;
@@ -1541,8 +1541,8 @@ done:static s32 brcmf_cfg80211_get_tx_power (struct wiphy *wiphy,s32 *dbm) { -struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_wl (wiphy); -struct net_device *ndev =wl_to_ndev (cfg_priv); +struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_cfg (wiphy); +struct net_device *ndev =cfg_to_ndev (cfg_priv);s32 txpwrdbm;u8 result;s32 err =0 ;
@@ -1850,7 +1850,7 @@ brcmf_cfg80211_get_key(struct wiphy *wiphy, struct net_device *dev, {struct key_params params;struct brcmf_wsec_key key; -struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_wl (wiphy); +struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_cfg (wiphy);struct brcmf_cfg80211_security *sec;s32 wsec;s32 err =0 ;
@@ -1919,7 +1919,7 @@ static s32 brcmf_cfg80211_get_station(struct wiphy *wiphy, struct net_device *dev, u8 *mac, struct station_info *sinfo) { - struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_wl(wiphy); + struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_cfg(wiphy);struct brcmf_scb_val scb_val;int rssi;s32 rate;
@@ -2082,7 +2082,7 @@ done:static s32 brcmf_cfg80211_resume (struct wiphy *wiphy) { -struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_wl (wiphy); +struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_cfg (wiphy);/* * Check for WL_STATUS_READY before any function call which
@@ -2096,7 +2096,7 @@ static s32 brcmf_cfg80211_resume(struct wiphy *wiphy)#endif /* defined(CONFIG_PM_SLEEP) */ if (test_bit (WL_STATUS_READY , &cfg_priv->status)) -brcmf_invoke_iscan (wiphy_to_wl (wiphy)); +brcmf_invoke_iscan (wiphy_to_cfg (wiphy));WL_TRACE ("Exit\n" );return 0 ;
@@ -2105,8 +2105,8 @@ static s32 brcmf_cfg80211_resume(struct wiphy *wiphy)static s32 brcmf_cfg80211_suspend (struct wiphy *wiphy,struct cfg80211_wowlan *wow) { -struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_wl (wiphy); -struct net_device *ndev =wl_to_ndev (cfg_priv); +struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_cfg (wiphy); +struct net_device *ndev =cfg_to_ndev (cfg_priv);WL_TRACE ("Enter\n" );
@@ -2190,7 +2190,7 @@ static s32 brcmf_cfg80211_set_pmksa(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_pmksa *pmksa) { - struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_wl(wiphy); + struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_cfg(wiphy);struct _pmkid_list *pmkids = &cfg_priv->pmk_list->pmkids;s32 err =0 ;int i;
@@ -2224,7 +2224,7 @@ static s32 brcmf_cfg80211_del_pmksa(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_pmksa *pmksa) { - struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_wl(wiphy); + struct brcmf_cfg80211_priv *cfg_priv = wiphy_to_cfg(wiphy);struct _pmkid_list pmkid;s32 err =0 ;int i;
@@ -2271,7 +2271,7 @@ brcmf_cfg80211_del_pmksa(struct wiphy *wiphy, struct net_device *dev,static s32 brcmf_cfg80211_flush_pmksa (struct wiphy *wiphy,struct net_device *dev) { -struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_wl (wiphy); +struct brcmf_cfg80211_priv *cfg_priv =wiphy_to_cfg (wiphy);s32 err =0 ;WL_TRACE ("Enter\n" );
@@ -2387,7 +2387,7 @@ wiphy_new_out:static void brcmf_free_wdev (struct brcmf_cfg80211_priv *cfg_priv) { -struct wireless_dev *wdev =wl_to_wdev (cfg_priv); +struct wireless_dev *wdev =cfg_to_wdev (cfg_priv);if (unlikely (!wdev)) {WL_ERR ("wdev is invalid\n" );
@@ -2396,7 +2396,7 @@ static void brcmf_free_wdev(struct brcmf_cfg80211_priv *cfg_priv)wiphy_unregister (wdev->wiphy);wiphy_free (wdev->wiphy);kfree (wdev); -wl_to_wdev (cfg_priv) =NULL ; +cfg_to_wdev (cfg_priv) =NULL ; }static s32 brcmf_inform_bss (struct brcmf_cfg80211_priv *cfg_priv)
@@ -2426,7 +2426,7 @@ static s32 brcmf_inform_bss(struct brcmf_cfg80211_priv *cfg_priv)static s32 brcmf_inform_single_bss (struct brcmf_cfg80211_priv *cfg_priv,struct brcmf_bss_info *bi) { -struct wiphy *wiphy =wl_to_wiphy (cfg_priv); +struct wiphy *wiphy =cfg_to_wiphy (cfg_priv);struct ieee80211_channel *notify_channel;struct cfg80211_bss *bss;struct ieee80211_supported_band *band;
@@ -2487,7 +2487,7 @@ static s32 brcmf_inform_single_bss(struct brcmf_cfg80211_priv *cfg_priv,static s32 wl_inform_ibss (struct brcmf_cfg80211_priv *cfg_priv,struct net_device *dev,const u8 *bssid) { -struct wiphy *wiphy =wl_to_wiphy (cfg_priv); +struct wiphy *wiphy =cfg_to_wiphy (cfg_priv);struct ieee80211_channel *notify_channel;struct brcmf_bss_info *bi =NULL ;struct ieee80211_supported_band *band;
@@ -2674,7 +2674,7 @@ brcmf_notify_roaming_status(struct brcmf_cfg80211_priv *cfg_priv,static __used s32 brcmf_dev_bufvar_set (struct net_device *dev,s8 *name,s8 *buf,s32 len) { -struct brcmf_cfg80211_priv *cfg_priv =ndev_to_wl (dev); +struct brcmf_cfg80211_priv *cfg_priv =ndev_to_cfg (dev);u32 buflen; buflen = brcmu_mkiovar(name, buf, len, cfg_priv->ioctl_buf,
@@ -2689,7 +2689,7 @@ static s32 brcmf_dev_bufvar_get(struct net_device *dev, s8 *name, s8 *buf, s32 buf_len) { - struct brcmf_cfg80211_priv *cfg_priv = ndev_to_wl(dev); + struct brcmf_cfg80211_priv *cfg_priv = ndev_to_cfg(dev);u32 len;s32 err =0 ;
@@ -2709,9 +2709,9 @@ brcmf_dev_bufvar_get(struct net_device *dev, s8 *name, s8 *buf,static s32 brcmf_get_assoc_ies (struct brcmf_cfg80211_priv *cfg_priv) { -struct net_device *ndev =wl_to_ndev (cfg_priv); +struct net_device *ndev =cfg_to_ndev (cfg_priv);struct brcmf_cfg80211_assoc_ielen *assoc_info; -struct brcmf_cfg80211_connect_info *conn_info =wl_to_conn (cfg_priv); +struct brcmf_cfg80211_connect_info *conn_info =cfg_to_conn (cfg_priv);u32 req_len;u32 resp_len;s32 err =0 ;
@@ -2767,7 +2767,7 @@ static s32 brcmf_get_assoc_ies(struct brcmf_cfg80211_priv *cfg_priv)static void brcmf_clear_assoc_ies (struct brcmf_cfg80211_priv *cfg_priv) { -struct brcmf_cfg80211_connect_info *conn_info =wl_to_conn (cfg_priv); +struct brcmf_cfg80211_connect_info *conn_info =cfg_to_conn (cfg_priv);kfree (conn_info->req_ie); conn_info->req_ie =NULL ;
@@ -2830,7 +2830,7 @@ static s32 brcmf_update_bss_info(struct brcmf_cfg80211_priv *cfg_priv) ssid = (struct brcmf_ssid *)brcmf_read_prof (cfg_priv,WL_PROF_SSID ); *(u32 *)cfg_priv->extra_buf =cpu_to_le32 (WL_EXTRA_BUF_MAX ); - err =brcmf_dev_ioctl (wl_to_ndev (cfg_priv),BRCMF_C_GET_BSS_INFO , + err =brcmf_dev_ioctl (cfg_to_ndev (cfg_priv),BRCMF_C_GET_BSS_INFO , cfg_priv->extra_buf,WL_EXTRA_BUF_MAX );if (unlikely (err)) {WL_ERR ("Could not get bss info %d\n" , err);
@@ -2856,7 +2856,7 @@ static s32 brcmf_update_bss_info(struct brcmf_cfg80211_priv *cfg_priv)* so we speficially query dtim information to dongle. */ u32 var; - err =brcmf_dev_intvar_get (wl_to_ndev (cfg_priv), + err =brcmf_dev_intvar_get (cfg_to_ndev (cfg_priv),"dtim_assoc" , &var);if (unlikely (err)) {WL_ERR ("wl dtim_assoc failed (%d)\n" , err);
@@ -2878,7 +2878,7 @@ brcmf_bss_roaming_done(struct brcmf_cfg80211_priv *cfg_priv,struct net_device *ndev, const struct brcmf_event_msg *e, void *data) { - struct brcmf_cfg80211_connect_info *conn_info = wl_to_conn(cfg_priv); + struct brcmf_cfg80211_connect_info *conn_info = cfg_to_conn(cfg_priv);s32 err =0 ;WL_TRACE ("Enter\n" );
@@ -2903,7 +2903,7 @@ brcmf_bss_connect_done(struct brcmf_cfg80211_priv *cfg_priv, struct net_device *ndev, const struct brcmf_event_msg *e, void *data, bool completed) { - struct brcmf_cfg80211_connect_info *conn_info = wl_to_conn(cfg_priv); + struct brcmf_cfg80211_connect_info *conn_info = cfg_to_conn(cfg_priv);s32 err =0 ;WL_TRACE ("Enter\n" );
@@ -2970,7 +2970,7 @@ brcmf_notify_scan_status(struct brcmf_cfg80211_priv *cfg_priv,if (cfg_priv->iscan_on && cfg_priv->iscan_kickstart) {WL_TRACE ("Exit\n" ); -return brcmf_wakeup_iscan (wl_to_iscan (cfg_priv)); +return brcmf_wakeup_iscan (cfg_to_iscan (cfg_priv)); } if (unlikely(!test_and_clear_bit(WL_STATUS_SCANNING,
@@ -3157,7 +3157,7 @@ static void brcmf_destroy_event_handler(struct brcmf_cfg80211_priv *cfg_priv)static void brcmf_term_iscan (struct brcmf_cfg80211_priv *cfg_priv) { -struct brcmf_cfg80211_iscan_ctrl *iscan =wl_to_iscan (cfg_priv); +struct brcmf_cfg80211_iscan_ctrl *iscan =cfg_to_iscan (cfg_priv);if (cfg_priv->iscan_on && iscan->tsk) { iscan->state =WL_ISCAN_STATE_IDLE ;
@@ -3170,8 +3170,8 @@ static void brcmf_term_iscan(struct brcmf_cfg80211_priv *cfg_priv)static void brcmf_notify_iscan_complete (struct brcmf_cfg80211_iscan_ctrl *iscan,bool aborted) { -struct brcmf_cfg80211_priv *cfg_priv =iscan_to_wl (iscan); -struct net_device *ndev =wl_to_ndev (cfg_priv); +struct brcmf_cfg80211_priv *cfg_priv =iscan_to_cfg (iscan); +struct net_device *ndev =cfg_to_ndev (cfg_priv);if (unlikely (!test_and_clear_bit (WL_STATUS_SCANNING , &cfg_priv->status))) {
@@ -3295,7 +3295,7 @@ static s32 brcmf_iscan_thread(void *data)struct sched_param param = {.sched_priority =MAX_RT_PRIO -1 };struct brcmf_cfg80211_iscan_ctrl *iscan = (struct brcmf_cfg80211_iscan_ctrl *)data; -struct brcmf_cfg80211_priv *cfg_priv =iscan_to_wl (iscan); +struct brcmf_cfg80211_priv *cfg_priv =iscan_to_cfg (iscan);struct brcmf_cfg80211_iscan_eloop *el = &iscan->el;u32 status;int err =0 ;
@@ -3343,7 +3343,7 @@ static void brcmf_iscan_timer(unsigned long data)static s32 brcmf_invoke_iscan (struct brcmf_cfg80211_priv *cfg_priv) { -struct brcmf_cfg80211_iscan_ctrl *iscan =wl_to_iscan (cfg_priv); +struct brcmf_cfg80211_iscan_ctrl *iscan =cfg_to_iscan (cfg_priv);int err =0 ;if (cfg_priv->iscan_on && !iscan->tsk) {
@@ -3372,11 +3372,11 @@ static void brcmf_init_iscan_eloop(struct brcmf_cfg80211_iscan_eloop *el)static s32 brcmf_init_iscan (struct brcmf_cfg80211_priv *cfg_priv) { -struct brcmf_cfg80211_iscan_ctrl *iscan =wl_to_iscan (cfg_priv); +struct brcmf_cfg80211_iscan_ctrl *iscan =cfg_to_iscan (cfg_priv);int err =0 ;if (cfg_priv->iscan_on) { - iscan->dev =wl_to_ndev (cfg_priv); + iscan->dev =cfg_to_ndev (cfg_priv); iscan->state =WL_ISCAN_STATE_IDLE ;brcmf_init_iscan_eloop (&iscan->el); iscan->timer_ms =WL_ISCAN_TIMER_INTERVAL_MS ;
@@ -3398,7 +3398,7 @@ static s32 brcmf_init_iscan(struct brcmf_cfg80211_priv *cfg_priv)static s32 wl_init_priv (struct brcmf_cfg80211_priv *cfg_priv) { -struct wiphy *wiphy =wl_to_wiphy (cfg_priv); +struct wiphy *wiphy =cfg_to_wiphy (cfg_priv);s32 err =0 ; cfg_priv->scan_request =NULL ;
@@ -3463,10 +3463,10 @@ s32 wl_cfg80211_attach(struct net_device *ndev, void *data)return -ENOMEM ; wdev->iftype =brcmf_mode_to_nl80211_iftype (WL_MODE_BSS ); - cfg_priv =wdev_to_wl (wdev); + cfg_priv =wdev_to_cfg (wdev); cfg_priv->wdev = wdev; cfg_priv->pub = data; - ci = (struct brcmf_cfg80211_iface *)wl_to_ci (cfg_priv); + ci = (struct brcmf_cfg80211_iface *)&cfg_priv->ci; ci->cfg_priv = cfg_priv; ndev->ieee80211_ptr = wdev;SET_NETDEV_DEV (ndev,wiphy_dev (wdev->wiphy));
@@ -3524,7 +3524,7 @@ static s32 brcmf_event_handler(void *data)WL_INFO ("event type (%d)\n" , e->etype);if (cfg_priv->el.handler[e->etype]) { cfg_priv->el.handler[e->etype](cfg_priv, -wl_to_ndev (cfg_priv), +cfg_to_ndev (cfg_priv), &e->emsg, e->edata); }else {WL_INFO ("Unknown Event (%d): ignoring\n" , e->etype);
@@ -3540,7 +3540,7 @@ wl_cfg80211_event(struct net_device *ndev, const struct brcmf_event_msg *e, void *data) { u32 event_type = be32_to_cpu(e->event_type); -struct brcmf_cfg80211_priv *cfg_priv =ndev_to_wl (ndev); +struct brcmf_cfg80211_priv *cfg_priv =ndev_to_cfg (ndev);if (likely (!brcmf_enq_event (cfg_priv, event_type, e, data)))brcmf_wakeup_event (cfg_priv);
@@ -3825,7 +3825,7 @@ s32 brcmf_config_dongle(struct brcmf_cfg80211_priv *cfg_priv, bool need_lock)if (cfg_priv->dongle_up)return err; - ndev =wl_to_ndev (cfg_priv); + ndev =cfg_to_ndev (cfg_priv); wdev = ndev->ieee80211_ptr;if (need_lock)rtnl_lock ();
@@ -3866,7 +3866,7 @@ static s32 wl_update_wiphybands(struct brcmf_cfg80211_priv *cfg_priv)s8 phy;s32 err =0 ; - err =brcmf_dev_ioctl (wl_to_ndev (cfg_priv),WLC_GET_PHYLIST , &phy_list, + err =brcmf_dev_ioctl (cfg_to_ndev (cfg_priv),WLC_GET_PHYLIST , &phy_list,sizeof (phy_list));if (unlikely (err)) {WL_ERR ("error (%d)\n" , err);
@@ -3876,7 +3876,7 @@ static s32 wl_update_wiphybands(struct brcmf_cfg80211_priv *cfg_priv) phy = ((char *)&phy_list)[1 ];WL_INFO ("%c phy\n" , phy);if (phy =='n' || phy =='a' ) { - wiphy =wl_to_wiphy (cfg_priv); + wiphy =cfg_to_wiphy (cfg_priv); wiphy->bands[IEEE80211_BAND_5GHZ ] = &__wl_band_5ghz_n; }
@@ -3926,7 +3926,7 @@ static s32 __brcmf_cfg80211_down(struct brcmf_cfg80211_priv *cfg_priv)if (cfg_priv->scan_request) {cfg80211_scan_done (cfg_priv->scan_request, true);/* May need to perform this to cover rmmod */ -/* wl_set_mpc(wl_to_ndev(wl), 1); */ +/* wl_set_mpc(cfg_to_ndev(wl), 1); */ cfg_priv->scan_request =NULL ; }clear_bit (WL_STATUS_READY , &cfg_priv->status);
@@ -4032,7 +4032,7 @@ static bool brcmf_is_ibssmode(struct brcmf_cfg80211_priv *cfg_priv)static __used s32 brcmf_add_ie (struct brcmf_cfg80211_priv *cfg_priv,u8 t,u8 l,u8 *v) { -struct brcmf_cfg80211_ie *ie =wl_to_ie (cfg_priv); +struct brcmf_cfg80211_ie *ie = &cfg_priv->ie;s32 err =0 ;if (unlikely (ie->offset + l +2 >WL_TLV_INFO_MAX )) {
@@ -4055,7 +4055,7 @@ static void brcmf_link_down(struct brcmf_cfg80211_priv *cfg_priv)WL_TRACE ("Enter\n" );if (cfg_priv->link_up) { - dev =wl_to_ndev (cfg_priv); + dev =cfg_to_ndev (cfg_priv);WL_INFO ("Call WLC_DISASSOC to stop excess roaming\n " ); err =brcmf_dev_ioctl (dev,BRCMF_C_DISASSOC ,NULL ,0 );if (unlikely (err))
@@ -4107,7 +4107,7 @@ static void *brcmf_get_drvdata(struct brcmf_cfg80211_dev *dev)static void brcmf_set_mpc (struct net_device *ndev,int mpc) {s32 err =0 ; -struct brcmf_cfg80211_priv *cfg_priv =ndev_to_wl (ndev); +struct brcmf_cfg80211_priv *cfg_priv =ndev_to_cfg (ndev);if (test_bit (WL_STATUS_READY , &cfg_priv->status)) { err =brcmf_dev_intvar_set (ndev,"mpc" , mpc);
@@ -4125,9 +4125,9 @@ static int brcmf_debugfs_add_netdev_params(struct brcmf_cfg80211_priv *cfg_priv)struct dentry *fd;s32 err =0 ; -sprintf (buf,"netdev:%s" ,wl_to_ndev (cfg_priv)->name); +sprintf (buf,"netdev:%s" ,cfg_to_ndev (cfg_priv)->name); cfg_priv->debugfsdir =debugfs_create_dir (buf, -wl_to_wiphy (cfg_priv)->debugfsdir); +cfg_to_wiphy (cfg_priv)->debugfsdir); fd =debugfs_create_u16 ("beacon_int" ,S_IRUGO , cfg_priv->debugfsdir, (u16 *)&cfg_priv->profile->beacon_interval);
drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h +9 -14
@@ -321,20 +321,15 @@ struct brcmf_cfg80211_priv { u8 ci[0] __attribute__ ((__aligned__(NETDEV_ALIGN))); }; -#define wl_to_dev (w) (wiphy_dev(wl->wdev->wiphy)) -#define wl_to_wiphy (w) (w->wdev->wiphy) -#define wiphy_to_wl (w) ((struct brcmf_cfg80211_priv *)(wiphy_priv(w))) -#define wl_to_wdev (w) (w->wdev) -#define wdev_to_wl (w) ((struct brcmf_cfg80211_priv *)(wdev_priv(w))) -#define wl_to_ndev (w) (w->wdev->netdev) -#define ndev_to_wl (n) (wdev_to_wl(n->ieee80211_ptr)) -#define ci_to_wl (c) (ci->cfg_priv) -#define wl_to_ci (w) (&w->ci) -#define wl_to_sr (w) (w->scan_req_int) -#define wl_to_ie (w) (&w->ie) -#define iscan_to_wl (i) ((struct brcmf_cfg80211_priv *)(i->data)) -#define wl_to_iscan (w) (w->iscan) -#define wl_to_conn (w) (&w->conn_info) +#define cfg_to_wiphy (w) (w->wdev->wiphy) +#define wiphy_to_cfg (w) ((struct brcmf_cfg80211_priv *)(wiphy_priv(w))) +#define cfg_to_wdev (w) (w->wdev) +#define wdev_to_cfg (w) ((struct brcmf_cfg80211_priv *)(wdev_priv(w))) +#define cfg_to_ndev (w) (w->wdev->netdev) +#define ndev_to_cfg (n) (wdev_to_cfg(n->ieee80211_ptr)) +#define iscan_to_cfg (i) ((struct brcmf_cfg80211_priv *)(i->data)) +#define cfg_to_iscan (w) (w->iscan) +#define cfg_to_conn (w) (&w->conn_info)static inline struct brcmf_bss_info *next_bss (struct brcmf_scan_results *list,struct brcmf_bss_info *bss)
Signature · 1 line
1.7.1
PATCH 117/119 staging: brcm80211: rename external function in wl_cfg80211.c
In reply to Franky LinFrom: Arend van Spriel <[email protected]>
Renamed external function getting rid of wl_ prefix. Removed unused function from the API header file wl_cfg80211.h as it was not defined.
--- .../brcm80211/brcmfmac/bcmsdh_sdmmc_linux.c | 2 +- drivers/staging/brcm80211/brcmfmac/dhd_linux.c | 14 ++++++++------ drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c | 18 +++++++++--------- drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h | 19 +++++++++---------- 4 files changed, 27 insertions(+), 26 deletions(-)
drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc_linux.c +1 -1
@@ -88,7 +88,7 @@ static int brcmf_ops_sdio_probe(struct sdio_func *func, gInstance->func[func->num] = func;if (func->num ==2 ) { -wl_cfg80211_sdio_func (func); +brcmf_cfg80211_sdio_func (func);sd_trace (("F2 found, calling brcmf_sdio_probe...\n" )); ret =brcmf_sdio_probe (&sdmmc_dev); }
drivers/staging/brcm80211/brcmfmac/dhd_linux.c +8 -6
@@ -1052,7 +1052,8 @@ static void brcmf_ethtool_get_drvinfo(struct net_device *net,sprintf (info->driver,KBUILD_MODNAME );sprintf (info->version,"%lu" , drvr_priv->pub.drv_version);sprintf (info->fw_version,"%s" ,BCM4329_FW_NAME ); -sprintf (info->bus_info,"%s" ,dev_name (&wl_cfg80211_get_sdio_func ()->dev)); +sprintf (info->bus_info,"%s" , +dev_name (&brcmf_cfg80211_get_sdio_func ()->dev)); }struct ethtool_ops brcmf_ethtool_ops = {
@@ -1292,7 +1293,7 @@ static int brcmf_netdev_stop(struct net_device *net)struct brcmf_info *drvr_priv = *(struct brcmf_info **)netdev_priv (net);DHD_TRACE (("%s: Enter\n" , __func__)); -wl_cfg80211_down (); +brcmf_cfg80211_down ();if (drvr_priv->pub.up ==0 )return 0 ;
@@ -1338,7 +1339,7 @@ static int brcmf_netdev_open(struct net_device *net)/* Allow transmit calls */ netif_start_queue (net); drvr_priv->pub.up =1 ; -if (unlikely (wl_cfg80211_up ())) { +if (unlikely (brcmf_cfg80211_up ())) {DHD_ERROR (("%s: failed to bring up cfg80211\n" , __func__));return -1 ;
@@ -1464,7 +1465,7 @@ struct brcmf_pub *brcmf_attach(struct brcmf_bus *bus, uint bus_hdrlen) }/* Attach and link in the cfg80211 */ -if (unlikely (wl_cfg80211_attach (net, &drvr_priv->pub))) { +if (unlikely (brcmf_cfg80211_attach (net, &drvr_priv->pub))) {DHD_ERROR (("wl_cfg80211_attach failed\n" )); goto fail; }
@@ -1700,7 +1701,7 @@ void brcmf_detach(struct brcmf_pub *drvr)if (drvr->prot)brcmf_proto_detach (drvr); -wl_cfg80211_detach (); +brcmf_cfg80211_detach ();/* && defined(DHD_GPL) */ free_netdev (ifp->net);
@@ -1824,7 +1825,8 @@ static int brcmf_host_event(struct brcmf_info *drvr_priv, int *ifidx, void *pktdASSERT (drvr_priv->iflist[*ifidx] !=NULL );ASSERT (drvr_priv->iflist[*ifidx]->net !=NULL );if (drvr_priv->iflist[*ifidx]->net) -wl_cfg80211_event (drvr_priv->iflist[*ifidx]->net, event, *data); +brcmf_cfg80211_event (drvr_priv->iflist[*ifidx]->net, + event, *data);return bcmerror; }
drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c +9 -9
@@ -3440,7 +3440,7 @@ static void wl_deinit_priv(struct brcmf_cfg80211_priv *cfg_priv)brcmf_deinit_priv_mem (cfg_priv); } -s32 wl_cfg80211_attach (struct net_device *ndev,void *data) +s32 brcmf_cfg80211_attach (struct net_device *ndev,void *data) {struct wireless_dev *wdev;struct brcmf_cfg80211_priv *cfg_priv;
@@ -3456,9 +3456,9 @@ s32 wl_cfg80211_attach(struct net_device *ndev, void *data)WL_ERR ("wl_cfg80211_dev is invalid\n" );return -ENOMEM ; } -WL_INFO ("func %p\n" ,wl_cfg80211_get_sdio_func ()); +WL_INFO ("func %p\n" ,brcmf_cfg80211_get_sdio_func ()); wdev =brcmf_alloc_wdev (sizeof (struct brcmf_cfg80211_iface ), - &wl_cfg80211_get_sdio_func ()->dev); + &brcmf_cfg80211_get_sdio_func ()->dev);if (IS_ERR (wdev))return -ENOMEM ;
@@ -3485,7 +3485,7 @@ cfg80211_attach_out:return err; } -void wl_cfg80211_detach (void ) +void brcmf_cfg80211_detach (void ) {struct brcmf_cfg80211_priv *cfg_priv;
@@ -3536,7 +3536,7 @@ static s32 brcmf_event_handler(void *data) }void -wl_cfg80211_event (struct net_device *ndev, +brcmf_cfg80211_event (struct net_device *ndev,const struct brcmf_event_msg *e,void *data) {u32 event_type =be32_to_cpu (e->event_type);
@@ -3619,7 +3619,7 @@ static void brcmf_put_event(struct brcmf_cfg80211_event_q *e)kfree (e); } -void wl_cfg80211_sdio_func (void *func) +void brcmf_cfg80211_sdio_func (void *func) { cfg80211_sdio_func = (struct sdio_func *)func; }
@@ -3629,7 +3629,7 @@ static void brcmf_clear_sdio_func(void) cfg80211_sdio_func =NULL ; } -struct sdio_func *wl_cfg80211_get_sdio_func (void ) +struct sdio_func *brcmf_cfg80211_get_sdio_func (void ) {return cfg80211_sdio_func; }
@@ -3938,7 +3938,7 @@ static s32 __brcmf_cfg80211_down(struct brcmf_cfg80211_priv *cfg_priv)return 0 ; } -s32 wl_cfg80211_up (void ) +s32 brcmf_cfg80211_up (void ) {struct brcmf_cfg80211_priv *cfg_priv;s32 err =0 ;
@@ -3951,7 +3951,7 @@ s32 wl_cfg80211_up(void)return err; } -s32 wl_cfg80211_down (void ) +s32 brcmf_cfg80211_down (void ) {struct brcmf_cfg80211_priv *cfg_priv;s32 err =0 ;
drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h +9 -10
@@ -343,15 +343,14 @@ static inline struct brcmf_bss_info *next_bss(struct brcmf_scan_results *list,#define for_each_bss (list, bss, __i) \ for (__i = 0; __i < list->count && __i < WL_AP_MAX; __i++, bss = next_bss(list, bss)) -extern s32 wl_cfg80211_attach (struct net_device *ndev,void *data); -extern void wl_cfg80211_detach (void ); +extern s32 brcmf_cfg80211_attach (struct net_device *ndev,void *data); +extern void brcmf_cfg80211_detach (void );/* event handler from dongle */ -extern void wl_cfg80211_event (struct net_device *ndev, -const struct brcmf_event_msg *e,void *data); -extern void wl_cfg80211_sdio_func (void *func);/* set sdio function info */ -extern struct sdio_func *wl_cfg80211_get_sdio_func (void ); -extern s32 wl_cfg80211_up (void );/* dongle up */ -extern s32 wl_cfg80211_down (void );/* dongle down */ -extern void wl_cfg80211_dbg_level (u32 level);/* set dongle -debugging level */ +extern void brcmf_cfg80211_event (struct net_device *ndev, +const struct brcmf_event_msg *e,void *data); +extern void brcmf_cfg80211_sdio_func (void *func);/* set sdio function info */ +extern struct sdio_func *brcmf_cfg80211_get_sdio_func (void ); +extern s32 brcmf_cfg80211_up (void );/* dongle up */ +extern s32 brcmf_cfg80211_down (void );/* dongle down */ +#endif /* _wl_cfg80211_h_ */
Signature · 1 line
1.7.1
PATCH 118/119 staging: brcm80211: fix for reported log spam problem
In reply to Franky LinFrom: Roland Vossen <[email protected]>
Every few minutes, this message would appear in syslog:
ieee80211 ph0: wl_ops_bss_info_changed: BSS idle: true (implement)
The message has been deleted, the driver requires no special action on this particular event (). See: https://bugzilla.kernel.org/show_bug.cgi?id=38162
--- drivers/staging/brcm80211/brcmsmac/mac80211_if.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-)
drivers/staging/brcm80211/brcmsmac/mac80211_if.c +0 -5
@@ -452,11 +452,6 @@ brcms_ops_bss_info_changed(struct ieee80211_hw *hw,wiphy_err (wiphy,"%s: qos enabled: %s (implement)\n" , __func__, info->qos ?"true" :"false" ); } -if (changed &BSS_CHANGED_IDLE ) { -/* Idle changed for this BSS/interface */ -wiphy_err (wiphy,"%s: BSS idle: %s (implement)\n" , __func__, - info->idle ?"true" :"false" ); - }return ; }
Signature · 1 line
1.7.1
PATCH 119/119 staging: brcm80211: updated TODO file
In reply to Franky LinFrom: Henry Ptasinski <[email protected]>
Updated TODO file to reflect current driver state, results of recent cleanup and fixes.
--- drivers/staging/brcm80211/TODO | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-)
drivers/staging/brcm80211/TODO +1 -11
@@ -4,19 +4,9 @@ Bugs ==== - none known at this moment -brcmfmac and brcmsmac -===================== -- replace company specific acronym wlc_ -- Resolve all XXX, TODO, FIXME in code - brcmfmac ===================== -- Remove unnecessary includes, move #includes from .h files into .c files. -- Absorb and delete header files that are included in only one .c file -- ASSERTS not allowed in mainline, replace by warning + error handling -- Replace printk and WL_ERROR() with proper routines -- Replace driver's proprietary ssb interface with generic kernel ssb module -- Build and test on 64 bit linux kernel +- ASSERTS deprecated in mainline, replace by warning + error handling brcm80211 info page =====================
Signature · 1 line
1.7.1
2011/6/30 Franky Lin <[email protected]>:
Quoted 1 line
Most of these patches are brcmfmac cleanup.
Hm, interesting improvement in your "Release early, release often" strategy.
---------- Wiadomość przekazana dalej ----------
Od: Henry Ptasinski <[email protected]>
Data: 1 czerwca 2011 18:23
Temat: Re: [PATCH 01/83] staging: brcm80211: removed unused Broadcom specific ioctls codes
Quoted 7 lines · Rafał Miłecki
2011/6/1 Roland Vossen<[email protected]>:
Quoted 2 lines
Code cleanup. Removal of code that is not invoked.
Have you heard of "Release early, release often"? It's something, we like here...
These are all changes that piled up during the merge window.
We had some issues previously with patch dependencies when sending patches out early and often, so we're trying to organize the patches a little better. Perhaps we went a little to far with this set. We'll try to find a better balance in the future.
Quoted 4 lines · Rafał Miłecki
2011/6/30 Franky Lin<[email protected]>:
Quoted 1 line
Most of these patches are brcmfmac cleanup.
Hm, interesting improvement in your "Release early, release often" strategy.
Hi, Rafał
We are aware and it was not preferred way to do this. Due to lot of renaming and (re)moving code we queued it up internally to make sure dependent patches would apply without major hassle. The staging-next tree did not move since beginning of June so it became quite a large patch queue.
Gr. AvS
Signature · 2 lines
Almost nobody dances sober, unless they happen to be insane. -- H.P. Lovecraft --
Quoted 6 lines · Rafał Miłecki
2011/6/30 Franky Lin<[email protected]>:
Quoted 1 line
Most of these patches are brcmfmac cleanup.
Hm, interesting improvement in your "Release early, release often" strategy.
Yea, we were waiting for the previous series to get applied. Not sure how to make this work better. Any process suggestions would be appreciated.
- Henry
Quoted 11 lines · Henry Ptasinski
Quoted 6 lines · Rafał Miłecki
2011/6/30 Franky Lin<[email protected]>:
Quoted 1 line
Most of these patches are brcmfmac cleanup.
Hm, interesting improvement in your "Release early, release often" strategy.
Yea, we were waiting for the previous series to get applied. Not sure how to make this work better. Any process suggestions would be appreciated.
Maintain your own git tree. Post patches in bunches. If no one comments on them within 3 days then probably you can assume they are going to be merged. In the [0 / X] patch say something like:
Fixes blah blah blah.
Applies to linux-next with the following patch sets applied:
Message-ID: <[email protected]>
Message-ID: <[email protected]> Or you can get the patches from git://whatever branch.
regards,
dan carpenter
Quoted 19 lines · Dan Carpenter
Quoted 11 lines · Henry Ptasinski
Quoted 6 lines · Rafał Miłecki
2011/6/30 Franky Lin<[email protected]>:
Quoted 1 line
Most of these patches are brcmfmac cleanup.
Hm, interesting improvement in your "Release early, release often" strategy.
Yea, we were waiting for the previous series to get applied. Not sure how to make this work better. Any process suggestions would be appreciated.
Maintain your own git tree. Post patches in bunches. If no one comments on them within 3 days then probably you can assume they are going to be merged. In the [0 / X] patch say something like:
Fixes blah blah blah.
Quoted 8 lines
Applies to linux-next with the following patch sets applied:
Message-ID:<[email protected]> Message-ID:<[email protected]> Or you can get the patches from git://whatever branch.regards,
dan carpenter
So there are two suggestions here:
1. post patches in smaller bunches, and include dependency info in the 0/X patch. Presumably, if one of the dependencies is dropped, then people will know to drop this series as well, and we would have to repost everything that was dropped once we fix the identified issues.
2. maintain a public git tree that people can pull from. If we do (1), is this needed and/or still useful? Do community folks that want to contribute changes send them to us or Greg/John/whoever is upstream? Pros/cons? Anybody have tips on workflow (my git mastery is still quite weak)?
Thanks,
- Henry
Quoted 10 lines · Henry Ptasinski
So there are two suggestions here:
1. post patches in smaller bunches, and include dependency info in the 0/X patch. Presumably, if one of the dependencies is dropped, then people will know to drop this series as well, and we would have to repost everything that was dropped once we fix the identified issues.
2. maintain a public git tree that people can pull from. If we do (1), is this needed and/or still useful?
Yes. Patches hiding in git trees never get reviewed. They just pile up until there too many to review.
Quoted 3 lines
Do community folks that
want to contribute changes send them to us or Greg/John/whoever is upstream? Pros/cons?
That stuff is between you and Greg. The rest of us don't care.
But what I'm saying is don't delay sending these patches because you're not sure if the other patches were going to go in or not. It's not an unpredictable thing. Everyone is supposed to CC you along with Greg, linux-wireless and driver-devel. You're the maintainer. If you ack a patch or nack it, then 99% of the time Greg is going to go along with your decision.
It's not like Greg is going to complain if you start recording which patches have to go in next and deal with any merge conflicts...
regards,
dan carpenter
Quoted 28 lines · Dan Carpenter
Quoted 10 lines · Henry Ptasinski
So there are two suggestions here:
1. post patches in smaller bunches, and include dependency info in the 0/X patch. Presumably, if one of the dependencies is dropped, then people will know to drop this series as well, and we would have to repost everything that was dropped once we fix the identified issues.
2. maintain a public git tree that people can pull from. If we do (1), is this needed and/or still useful?
Yes. Patches hiding in git trees never get reviewed. They just pile up until there too many to review.
Quoted 3 lines
Do community folks that
want to contribute changes send them to us or Greg/John/whoever is upstream? Pros/cons?That stuff is between you and Greg. The rest of us don't care.
But what I'm saying is don't delay sending these patches because you're not sure if the other patches were going to go in or not. It's not an unpredictable thing. Everyone is supposed to CC you along with Greg, linux-wireless and driver-devel. You're the maintainer. If you ack a patch or nack it, then 99% of the time Greg is going to go along with your decision.
Quoted 2 lines
It's not like Greg is going to complain if you start recording which patches have to go in next and deal with any merge conflicts...
Nope, Greg would be very happy and hopefully have to stop referring to himself in the third person if people were so kind.
thanks,
greg 'sorry, it's been a long day staring at usb 3.0 patches...' k-h
Hi Henry,
Quoted 10 lines · Henry Ptasinski
Quoted 6 lines · Rafał Miłecki
2011/6/30 Franky Lin<[email protected]>:
Quoted 1 line
Most of these patches are brcmfmac cleanup.
Hm, interesting improvement in your "Release early, release often" strategy.
Yea, we were waiting for the previous series to get applied. Not sure how to make this work better. Any process suggestions would be appreciated.
Keep sending them in small batches, I think it is just normal to apply the batches one after the other, no need to keep waiting. If there are no conflicts, everything should go smoothly. And if it doesn't, someone will ping you. ;)
Signature · 2 lines
Cheers, Luca.
Quoted 11 lines · Luciano Coelho
Hi Henry,
Quoted 8 lines · Henry Ptasinski
Quoted 6 lines · Rafał Miłecki
2011/6/30 Franky Lin<[email protected]>:
Quoted 1 line
Most of these patches are brcmfmac cleanup.
Hm, interesting improvement in your "Release early, release often" strategy.
Quoted 8 lines
Quoted 2 lines
Yea, we were waiting for the previous series to get applied. Not sure how to make this work better. Any process suggestions would be appreciated.
Keep sending them in small batches, I think it is just normal to apply the batches one after the other, no need to keep waiting. If there are no conflicts, everything should go smoothly. And if it doesn't, someone will ping you. ;)
That's what we had been doing, but along the way a patch or two got dropped and that caused a train wreck.
We were hoping that switching to a more batch-oriented mode would help, but obviously that approach has it's own problems.
- Henry
Quoted 1 line · Franky Lin
Most of these patches are brcmfmac cleanup.
Not all of them applied, care to redo the ones that didn't and resend them?
thanks,
greg k-h
Quoted 8 lines · Greg KH
Quoted 1 line · Franky Lin
Most of these patches are brcmfmac cleanup.
Not all of them applied, care to redo the ones that didn't and resend them?
thanks,
greg k-h
Will do when I figured out which ones are not applying. Franky, as are all valley broadcom folks, is not in today (fourth of july aftermath). Here in Holland we have other days to celebrate so taking over from him. Can you provide me the info about the not applying patches. I applied them all on top of staging-next as it was this morning and that went fine. Did we miss some brcm80211 patches not coming from us? I will start digging here to find out, but you are more than welcome to provide any info.
Gr. AvS
Signature · 2 lines
Almost nobody dances sober, unless they happen to be insane. -- H.P. Lovecraft --
Quoted 18 lines · Arend van Spriel
Quoted 8 lines · Greg KH
Quoted 1 line · Franky Lin
Most of these patches are brcmfmac cleanup.
Not all of them applied, care to redo the ones that didn't and resend them?
thanks,
greg k-h
Will do when I figured out which ones are not applying. Franky, as are all valley broadcom folks, is not in today (fourth of july aftermath). Here in Holland we have other days to celebrate so taking over from him. Can you provide me the info about the not applying patches. I applied them all on top of staging-next as it was this morning and that went fine. Did we miss some brcm80211 patches not coming from us? I will start digging here to find out, but you are more than welcome to provide any info.
Quoted 1 line
Gr. AvS
Hi Greg,
This is what I excavated so far. Looking at git.kernel.org it seems like patch 92 in the series got applied at the end of the series. Up to patch 92 it went fine, but it started to derail from there. I have clear picture which patches are missing and will resend them.
Gr. AvS
Signature · 2 lines
Almost nobody dances sober, unless they happen to be insane. -- H.P. Lovecraft --
Quoted 19 lines · Arend van Spriel
Quoted 18 lines · Arend van Spriel
Quoted 8 lines · Greg KH
Quoted 1 line · Franky Lin
Most of these patches are brcmfmac cleanup.
Not all of them applied, care to redo the ones that didn't and resend them?
thanks,
greg k-h
Will do when I figured out which ones are not applying. Franky, as are all valley broadcom folks, is not in today (fourth of july aftermath). Here in Holland we have other days to celebrate so taking over from him. Can you provide me the info about the not applying patches. I applied them all on top of staging-next as it was this morning and that went fine. Did we miss some brcm80211 patches not coming from us? I will start digging here to find out, but you are more than welcome to provide any info.
Quoted 8 lines
Quoted 1 line
Gr. AvS
Hi Greg,
This is what I excavated so far. Looking at git.kernel.org it seems like patch 92 in the series got applied at the end of the series. Up to patch 92 it went fine, but it started to derail from there. I have clear picture which patches are missing and will resend them.
Yes, I messed up. I sorted by "brcm" and applied the patches there, missing the fact that patch 92 was spelled wrong, so I missed it.
Then I went back and applied that one after figuring it out, but you did at the same time.
I'll queue these up in a bit after I get the kids to bed, thanks for resending them and sorry for the mixup, it was my fault.
greg k-h