Lines Matching refs:mib_buf
850 priv->mib_buf.type = MIB_MAC_MGMT;
851 priv->mib_buf.size = 1;
852 priv->mib_buf.index = offsetof(struct mib_mac_mgmt, power_mgmt_mode);
853 priv->mib_buf.data.byte = priv->pm_mode;
855 ret = at76_set_mib(priv, &priv->mib_buf);
867 priv->mib_buf.type = MIB_LOCAL;
868 priv->mib_buf.size = 1;
869 priv->mib_buf.index = offsetof(struct mib_local, preamble_type);
870 priv->mib_buf.data.byte = type;
872 ret = at76_set_mib(priv, &priv->mib_buf);
884 priv->mib_buf.type = MIB_MAC;
885 priv->mib_buf.size = 2;
886 priv->mib_buf.index = offsetof(struct mib_mac, frag_threshold);
887 priv->mib_buf.data.word = cpu_to_le16(size);
889 ret = at76_set_mib(priv, &priv->mib_buf);
901 priv->mib_buf.type = MIB_MAC;
902 priv->mib_buf.size = 2;
903 priv->mib_buf.index = offsetof(struct mib_mac, rts_threshold);
904 priv->mib_buf.data.word = cpu_to_le16(size);
906 ret = at76_set_mib(priv, &priv->mib_buf);
917 priv->mib_buf.type = MIB_LOCAL;
918 priv->mib_buf.size = 1;
919 priv->mib_buf.index = offsetof(struct mib_local, txautorate_fallback);
920 priv->mib_buf.data.byte = onoff;
922 ret = at76_set_mib(priv, &priv->mib_buf);
1477 priv->mib_buf.type = MIB_LOCAL;
1478 priv->mib_buf.size = 1;
1479 priv->mib_buf.index = offsetof(struct mib_local, promiscuous_mode);
1480 priv->mib_buf.data.byte = priv->promisc ? 1 : 0;
1482 ret = at76_set_mib(priv, &priv->mib_buf);
2096 struct mib_mac_wep *mib_data = &priv->mib_buf.data.wep_mib;
2098 priv->mib_buf.type = MIB_MAC_WEP;
2099 priv->mib_buf.size = sizeof(struct mib_mac_wep);
2100 priv->mib_buf.index = 0;
2122 ret = at76_set_mib(priv, &priv->mib_buf);