1 /******************************************************************************
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 ******************************************************************************/
16 #include "odm_precomp.h"
22 static u32 array_MAC_REG_8188E[] = {
115 bool rtl88eu_phy_mac_config(struct adapter *adapt)
121 arraylength = ARRAY_SIZE(array_MAC_REG_8188E);
122 ptrarray = array_MAC_REG_8188E;
124 for (i = 0; i < arraylength; i += 2)
125 usb_write8(adapt, ptrarray[i], (u8)ptrarray[i + 1]);
127 usb_write8(adapt, REG_MAX_AGGR_NUM, MAX_AGGR_NUM);