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 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19 ******************************************************************************/
21 #include "odm_precomp.h"
27 static u32 array_MAC_REG_8188E[] = {
120 bool rtl88eu_phy_mac_config(struct adapter *adapt)
126 arraylength = ARRAY_SIZE(array_MAC_REG_8188E);
127 ptrarray = array_MAC_REG_8188E;
129 for (i = 0; i < arraylength; i += 2)
130 usb_write8(adapt, ptrarray[i], (u8)ptrarray[i + 1]);
132 usb_write8(adapt, REG_MAX_AGGR_NUM, MAX_AGGR_NUM);