Lines Matching defs:vif

60 	struct wilc_vif *vif = netdev_priv(dev);
61 struct wilc *wilc = vif->wilc;
74 static void wilc_wlan_txq_add_to_head(struct wilc_vif *vif, u8 q_num,
78 struct wilc *wilc = vif->wilc;
95 static inline void add_tcp_session(struct wilc_vif *vif, u32 src_prt,
98 struct tcp_ack_filter *f = &vif->ack_filter;
109 static inline void update_tcp_session(struct wilc_vif *vif, u32 index, u32 ack)
111 struct tcp_ack_filter *f = &vif->ack_filter;
118 static inline void add_tcp_pending_ack(struct wilc_vif *vif, u32 ack,
122 struct tcp_ack_filter *f = &vif->ack_filter;
140 struct wilc_vif *vif = netdev_priv(dev);
141 struct wilc *wilc = vif->wilc;
142 struct tcp_ack_filter *f = &vif->ack_filter;
172 update_tcp_session(vif, i, ack_no);
177 add_tcp_session(vif, 0, 0, seq_no);
179 add_tcp_pending_ack(vif, ack_no, i, tqe);
188 struct wilc_vif *vif = netdev_priv(dev);
189 struct wilc *wilc = vif->wilc;
190 struct tcp_ack_filter *f = &vif->ack_filter;
243 void wilc_enable_tcp_ack_filter(struct wilc_vif *vif, bool value)
245 vif->ack_filter.enabled = value;
248 static int wilc_wlan_txq_add_cfg_pkt(struct wilc_vif *vif, u8 *buffer,
252 struct wilc *wilc = vif->wilc;
254 netdev_dbg(vif->ndev, "Adding config packet ...\n");
256 netdev_dbg(vif->ndev, "Return due to clear function\n");
274 tqe->vif = vif;
276 wilc_wlan_txq_add_to_head(vif, AC_VO_Q, tqe);
414 struct wilc_vif *vif = netdev_priv(dev);
418 wilc = vif->wilc;
441 tqe->vif = vif;
453 if (vif->ack_filter.enabled)
469 struct wilc_vif *vif = netdev_priv(dev);
472 wilc = vif->wilc;
496 tqe->vif = vif;
716 struct wilc_vif *vif;
727 wilc_for_each_vif(wilc, vif)
728 wilc_wlan_txq_filter_dup_tcp_ack(vif->ndev);
880 vif = tqe->vif;
901 bssid = tqe->vif->bssid;
918 vif->ack_filter.pending_acks[tqe->ack_idx].txqe = NULL;
1188 int wilc_wlan_stop(struct wilc *wilc, struct wilc_vif *vif)
1215 netdev_err(vif->ndev, "Error while reading reg\n");
1222 netdev_err(vif->ndev, "Error while writing reg\n");
1239 struct wilc_vif *vif = netdev_priv(dev);
1240 struct wilc *wilc = vif->wilc;
1263 static int wilc_wlan_cfg_commit(struct wilc_vif *vif, int type,
1266 struct wilc *wilc = vif->wilc;
1280 if (!wilc_wlan_txq_add_cfg_pkt(vif, (u8 *)&cfg->hdr, t_len))
1286 int wilc_wlan_cfg_set(struct wilc_vif *vif, int start, u16 wid, u8 *buffer,
1291 struct wilc *wilc = vif->wilc;
1309 netdev_dbg(vif->ndev, "%s: seqno[%d]\n", __func__, wilc->cfg_seq_no);
1311 if (wilc_wlan_cfg_commit(vif, WILC_CFG_SET, drv_handler))
1316 netdev_dbg(vif->ndev, "%s: Timed Out\n", __func__);
1327 int wilc_wlan_cfg_get(struct wilc_vif *vif, int start, u16 wid, int commit,
1332 struct wilc *wilc = vif->wilc;
1349 if (wilc_wlan_cfg_commit(vif, WILC_CFG_QUERY, drv_handler))
1354 netdev_dbg(vif->ndev, "%s: Timed Out\n", __func__);
1364 int wilc_send_config_pkt(struct wilc_vif *vif, u8 mode, struct wid *wids,
1369 u32 drv = wilc_get_vif_idx(vif);
1373 if (!wilc_wlan_cfg_get(vif, !i,
1382 wids[i].size = wilc_wlan_cfg_get_val(vif->wilc,
1389 if (!wilc_wlan_cfg_set(vif, !i,
1409 struct wilc_vif *vif = netdev_priv(dev);
1410 struct wilc *wilc = vif->wilc;
1478 struct wilc_vif *vif = netdev_priv(dev);
1481 wilc = vif->wilc;