halmac_tx_desc_chip.h 157 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2016 - 2018 Realtek Corporation. All rights reserved.
  4. *
  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.
  8. *
  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
  12. * more details.
  13. *
  14. ******************************************************************************/
  15. #ifndef _HALMAC_TX_DESC_CHIP_H_
  16. #define _HALMAC_TX_DESC_CHIP_H_
  17. #if (HALMAC_8814A_SUPPORT)
  18. /*TXDESC_WORD0*/
  19. #define SET_TX_DESC_DISQSELSEQ_8814A(txdesc, value) \
  20. SET_TX_DESC_DISQSELSEQ(txdesc, value)
  21. #define GET_TX_DESC_DISQSELSEQ_8814A(txdesc) GET_TX_DESC_DISQSELSEQ(txdesc)
  22. #define SET_TX_DESC_GF_8814A(txdesc, value) SET_TX_DESC_GF(txdesc, value)
  23. #define GET_TX_DESC_GF_8814A(txdesc) GET_TX_DESC_GF(txdesc)
  24. #define SET_TX_DESC_NO_ACM_8814A(txdesc, value) \
  25. SET_TX_DESC_NO_ACM(txdesc, value)
  26. #define GET_TX_DESC_NO_ACM_8814A(txdesc) GET_TX_DESC_NO_ACM(txdesc)
  27. #define SET_TX_DESC_AMSDU_PAD_EN_8814A(txdesc, value) \
  28. SET_TX_DESC_AMSDU_PAD_EN(txdesc, value)
  29. #define GET_TX_DESC_AMSDU_PAD_EN_8814A(txdesc) GET_TX_DESC_AMSDU_PAD_EN(txdesc)
  30. #define SET_TX_DESC_LS_8814A(txdesc, value) SET_TX_DESC_LS(txdesc, value)
  31. #define GET_TX_DESC_LS_8814A(txdesc) GET_TX_DESC_LS(txdesc)
  32. #define SET_TX_DESC_HTC_8814A(txdesc, value) SET_TX_DESC_HTC(txdesc, value)
  33. #define GET_TX_DESC_HTC_8814A(txdesc) GET_TX_DESC_HTC(txdesc)
  34. #define SET_TX_DESC_BMC_8814A(txdesc, value) SET_TX_DESC_BMC(txdesc, value)
  35. #define GET_TX_DESC_BMC_8814A(txdesc) GET_TX_DESC_BMC(txdesc)
  36. #define SET_TX_DESC_OFFSET_8814A(txdesc, value) \
  37. SET_TX_DESC_OFFSET(txdesc, value)
  38. #define GET_TX_DESC_OFFSET_8814A(txdesc) GET_TX_DESC_OFFSET(txdesc)
  39. #define SET_TX_DESC_TXPKTSIZE_8814A(txdesc, value) \
  40. SET_TX_DESC_TXPKTSIZE(txdesc, value)
  41. #define GET_TX_DESC_TXPKTSIZE_8814A(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
  42. /*WORD1*/
  43. #define SET_TX_DESC_MOREDATA_8814A(txdesc, value) \
  44. SET_TX_DESC_MOREDATA(txdesc, value)
  45. #define GET_TX_DESC_MOREDATA_8814A(txdesc) GET_TX_DESC_MOREDATA(txdesc)
  46. #define SET_TX_DESC_PKT_OFFSET_8814A(txdesc, value) \
  47. SET_TX_DESC_PKT_OFFSET(txdesc, value)
  48. #define GET_TX_DESC_PKT_OFFSET_8814A(txdesc) GET_TX_DESC_PKT_OFFSET(txdesc)
  49. #define SET_TX_DESC_SEC_TYPE_8814A(txdesc, value) \
  50. SET_TX_DESC_SEC_TYPE(txdesc, value)
  51. #define GET_TX_DESC_SEC_TYPE_8814A(txdesc) GET_TX_DESC_SEC_TYPE(txdesc)
  52. #define SET_TX_DESC_EN_DESC_ID_8814A(txdesc, value) \
  53. SET_TX_DESC_EN_DESC_ID(txdesc, value)
  54. #define GET_TX_DESC_EN_DESC_ID_8814A(txdesc) GET_TX_DESC_EN_DESC_ID(txdesc)
  55. #define SET_TX_DESC_RATE_ID_8814A(txdesc, value) \
  56. SET_TX_DESC_RATE_ID(txdesc, value)
  57. #define GET_TX_DESC_RATE_ID_8814A(txdesc) GET_TX_DESC_RATE_ID(txdesc)
  58. #define SET_TX_DESC_PIFS_8814A(txdesc, value) SET_TX_DESC_PIFS(txdesc, value)
  59. #define GET_TX_DESC_PIFS_8814A(txdesc) GET_TX_DESC_PIFS(txdesc)
  60. #define SET_TX_DESC_LSIG_TXOP_EN_8814A(txdesc, value) \
  61. SET_TX_DESC_LSIG_TXOP_EN(txdesc, value)
  62. #define GET_TX_DESC_LSIG_TXOP_EN_8814A(txdesc) GET_TX_DESC_LSIG_TXOP_EN(txdesc)
  63. #define SET_TX_DESC_RD_NAV_EXT_8814A(txdesc, value) \
  64. SET_TX_DESC_RD_NAV_EXT(txdesc, value)
  65. #define GET_TX_DESC_RD_NAV_EXT_8814A(txdesc) GET_TX_DESC_RD_NAV_EXT(txdesc)
  66. #define SET_TX_DESC_QSEL_8814A(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
  67. #define GET_TX_DESC_QSEL_8814A(txdesc) GET_TX_DESC_QSEL(txdesc)
  68. #define SET_TX_DESC_MACID_8814A(txdesc, value) SET_TX_DESC_MACID(txdesc, value)
  69. #define GET_TX_DESC_MACID_8814A(txdesc) GET_TX_DESC_MACID(txdesc)
  70. /*TXDESC_WORD2*/
  71. #define SET_TX_DESC_HW_AES_IV_8814A(txdesc, value) \
  72. SET_TX_DESC_HW_AES_IV(txdesc, value)
  73. #define GET_TX_DESC_HW_AES_IV_8814A(txdesc) GET_TX_DESC_HW_AES_IV(txdesc)
  74. #define SET_TX_DESC_G_ID_8814A(txdesc, value) SET_TX_DESC_G_ID(txdesc, value)
  75. #define GET_TX_DESC_G_ID_8814A(txdesc) GET_TX_DESC_G_ID(txdesc)
  76. #define SET_TX_DESC_BT_NULL_8814A(txdesc, value) \
  77. SET_TX_DESC_BT_NULL(txdesc, value)
  78. #define GET_TX_DESC_BT_NULL_8814A(txdesc) GET_TX_DESC_BT_NULL(txdesc)
  79. #define SET_TX_DESC_AMPDU_DENSITY_8814A(txdesc, value) \
  80. SET_TX_DESC_AMPDU_DENSITY(txdesc, value)
  81. #define GET_TX_DESC_AMPDU_DENSITY_8814A(txdesc) \
  82. GET_TX_DESC_AMPDU_DENSITY(txdesc)
  83. #define SET_TX_DESC_SPE_RPT_8814A(txdesc, value) \
  84. SET_TX_DESC_SPE_RPT(txdesc, value)
  85. #define GET_TX_DESC_SPE_RPT_8814A(txdesc) GET_TX_DESC_SPE_RPT(txdesc)
  86. #define SET_TX_DESC_RAW_8814A(txdesc, value) SET_TX_DESC_RAW(txdesc, value)
  87. #define GET_TX_DESC_RAW_8814A(txdesc) GET_TX_DESC_RAW(txdesc)
  88. #define SET_TX_DESC_MOREFRAG_8814A(txdesc, value) \
  89. SET_TX_DESC_MOREFRAG(txdesc, value)
  90. #define GET_TX_DESC_MOREFRAG_8814A(txdesc) GET_TX_DESC_MOREFRAG(txdesc)
  91. #define SET_TX_DESC_BK_8814A(txdesc, value) SET_TX_DESC_BK(txdesc, value)
  92. #define GET_TX_DESC_BK_8814A(txdesc) GET_TX_DESC_BK(txdesc)
  93. #define SET_TX_DESC_NULL_1_8814A(txdesc, value) \
  94. SET_TX_DESC_NULL_1(txdesc, value)
  95. #define GET_TX_DESC_NULL_1_8814A(txdesc) GET_TX_DESC_NULL_1(txdesc)
  96. #define SET_TX_DESC_NULL_0_8814A(txdesc, value) \
  97. SET_TX_DESC_NULL_0(txdesc, value)
  98. #define GET_TX_DESC_NULL_0_8814A(txdesc) GET_TX_DESC_NULL_0(txdesc)
  99. #define SET_TX_DESC_RDG_EN_8814A(txdesc, value) \
  100. SET_TX_DESC_RDG_EN(txdesc, value)
  101. #define GET_TX_DESC_RDG_EN_8814A(txdesc) GET_TX_DESC_RDG_EN(txdesc)
  102. #define SET_TX_DESC_AGG_EN_8814A(txdesc, value) \
  103. SET_TX_DESC_AGG_EN(txdesc, value)
  104. #define GET_TX_DESC_AGG_EN_8814A(txdesc) GET_TX_DESC_AGG_EN(txdesc)
  105. #define SET_TX_DESC_CCA_RTS_8814A(txdesc, value) \
  106. SET_TX_DESC_CCA_RTS(txdesc, value)
  107. #define GET_TX_DESC_CCA_RTS_8814A(txdesc) GET_TX_DESC_CCA_RTS(txdesc)
  108. #define SET_TX_DESC_P_AID_8814A(txdesc, value) SET_TX_DESC_P_AID(txdesc, value)
  109. #define GET_TX_DESC_P_AID_8814A(txdesc) GET_TX_DESC_P_AID(txdesc)
  110. /*TXDESC_WORD3*/
  111. #define SET_TX_DESC_AMPDU_MAX_TIME_8814A(txdesc, value) \
  112. SET_TX_DESC_AMPDU_MAX_TIME(txdesc, value)
  113. #define GET_TX_DESC_AMPDU_MAX_TIME_8814A(txdesc) \
  114. GET_TX_DESC_AMPDU_MAX_TIME(txdesc)
  115. #define SET_TX_DESC_NDPA_8814A(txdesc, value) SET_TX_DESC_NDPA(txdesc, value)
  116. #define GET_TX_DESC_NDPA_8814A(txdesc) GET_TX_DESC_NDPA(txdesc)
  117. #define SET_TX_DESC_MAX_AGG_NUM_8814A(txdesc, value) \
  118. SET_TX_DESC_MAX_AGG_NUM(txdesc, value)
  119. #define GET_TX_DESC_MAX_AGG_NUM_8814A(txdesc) GET_TX_DESC_MAX_AGG_NUM(txdesc)
  120. #define SET_TX_DESC_USE_MAX_TIME_EN_8814A(txdesc, value) \
  121. SET_TX_DESC_USE_MAX_TIME_EN(txdesc, value)
  122. #define GET_TX_DESC_USE_MAX_TIME_EN_8814A(txdesc) \
  123. GET_TX_DESC_USE_MAX_TIME_EN(txdesc)
  124. #define SET_TX_DESC_NAVUSEHDR_8814A(txdesc, value) \
  125. SET_TX_DESC_NAVUSEHDR(txdesc, value)
  126. #define GET_TX_DESC_NAVUSEHDR_8814A(txdesc) GET_TX_DESC_NAVUSEHDR(txdesc)
  127. #define SET_TX_DESC_CHK_EN_8814A(txdesc, value) \
  128. SET_TX_DESC_CHK_EN(txdesc, value)
  129. #define GET_TX_DESC_CHK_EN_8814A(txdesc) GET_TX_DESC_CHK_EN(txdesc)
  130. #define SET_TX_DESC_HW_RTS_EN_8814A(txdesc, value) \
  131. SET_TX_DESC_HW_RTS_EN(txdesc, value)
  132. #define GET_TX_DESC_HW_RTS_EN_8814A(txdesc) GET_TX_DESC_HW_RTS_EN(txdesc)
  133. #define SET_TX_DESC_RTSEN_8814A(txdesc, value) SET_TX_DESC_RTSEN(txdesc, value)
  134. #define GET_TX_DESC_RTSEN_8814A(txdesc) GET_TX_DESC_RTSEN(txdesc)
  135. #define SET_TX_DESC_CTS2SELF_8814A(txdesc, value) \
  136. SET_TX_DESC_CTS2SELF(txdesc, value)
  137. #define GET_TX_DESC_CTS2SELF_8814A(txdesc) GET_TX_DESC_CTS2SELF(txdesc)
  138. #define SET_TX_DESC_DISDATAFB_8814A(txdesc, value) \
  139. SET_TX_DESC_DISDATAFB(txdesc, value)
  140. #define GET_TX_DESC_DISDATAFB_8814A(txdesc) GET_TX_DESC_DISDATAFB(txdesc)
  141. #define SET_TX_DESC_DISRTSFB_8814A(txdesc, value) \
  142. SET_TX_DESC_DISRTSFB(txdesc, value)
  143. #define GET_TX_DESC_DISRTSFB_8814A(txdesc) GET_TX_DESC_DISRTSFB(txdesc)
  144. #define SET_TX_DESC_USE_RATE_8814A(txdesc, value) \
  145. SET_TX_DESC_USE_RATE(txdesc, value)
  146. #define GET_TX_DESC_USE_RATE_8814A(txdesc) GET_TX_DESC_USE_RATE(txdesc)
  147. #define SET_TX_DESC_HW_SSN_SEL_8814A(txdesc, value) \
  148. SET_TX_DESC_HW_SSN_SEL(txdesc, value)
  149. #define GET_TX_DESC_HW_SSN_SEL_8814A(txdesc) GET_TX_DESC_HW_SSN_SEL(txdesc)
  150. #define SET_TX_DESC_WHEADER_LEN_8814A(txdesc, value) \
  151. SET_TX_DESC_WHEADER_LEN(txdesc, value)
  152. #define GET_TX_DESC_WHEADER_LEN_8814A(txdesc) GET_TX_DESC_WHEADER_LEN(txdesc)
  153. /*TXDESC_WORD4*/
  154. #define SET_TX_DESC_PCTS_MASK_IDX_8814A(txdesc, value) \
  155. SET_TX_DESC_PCTS_MASK_IDX(txdesc, value)
  156. #define GET_TX_DESC_PCTS_MASK_IDX_8814A(txdesc) \
  157. GET_TX_DESC_PCTS_MASK_IDX(txdesc)
  158. #define SET_TX_DESC_PCTS_EN_8814A(txdesc, value) \
  159. SET_TX_DESC_PCTS_EN(txdesc, value)
  160. #define GET_TX_DESC_PCTS_EN_8814A(txdesc) GET_TX_DESC_PCTS_EN(txdesc)
  161. #define SET_TX_DESC_RTSRATE_8814A(txdesc, value) \
  162. SET_TX_DESC_RTSRATE(txdesc, value)
  163. #define GET_TX_DESC_RTSRATE_8814A(txdesc) GET_TX_DESC_RTSRATE(txdesc)
  164. #define SET_TX_DESC_RTS_DATA_RTY_LMT_8814A(txdesc, value) \
  165. SET_TX_DESC_RTS_DATA_RTY_LMT(txdesc, value)
  166. #define GET_TX_DESC_RTS_DATA_RTY_LMT_8814A(txdesc) \
  167. GET_TX_DESC_RTS_DATA_RTY_LMT(txdesc)
  168. #define SET_TX_DESC_RTY_LMT_EN_8814A(txdesc, value) \
  169. SET_TX_DESC_RTY_LMT_EN(txdesc, value)
  170. #define GET_TX_DESC_RTY_LMT_EN_8814A(txdesc) GET_TX_DESC_RTY_LMT_EN(txdesc)
  171. #define SET_TX_DESC_RTS_RTY_LOWEST_RATE_8814A(txdesc, value) \
  172. SET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc, value)
  173. #define GET_TX_DESC_RTS_RTY_LOWEST_RATE_8814A(txdesc) \
  174. GET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc)
  175. #define SET_TX_DESC_DATA_RTY_LOWEST_RATE_8814A(txdesc, value) \
  176. SET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc, value)
  177. #define GET_TX_DESC_DATA_RTY_LOWEST_RATE_8814A(txdesc) \
  178. GET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc)
  179. #define SET_TX_DESC_TRY_RATE_8814A(txdesc, value) \
  180. SET_TX_DESC_TRY_RATE(txdesc, value)
  181. #define GET_TX_DESC_TRY_RATE_8814A(txdesc) GET_TX_DESC_TRY_RATE(txdesc)
  182. #define SET_TX_DESC_DATARATE_8814A(txdesc, value) \
  183. SET_TX_DESC_DATARATE(txdesc, value)
  184. #define GET_TX_DESC_DATARATE_8814A(txdesc) GET_TX_DESC_DATARATE(txdesc)
  185. /*TXDESC_WORD5*/
  186. #define SET_TX_DESC_POLLUTED_8814A(txdesc, value) \
  187. SET_TX_DESC_POLLUTED(txdesc, value)
  188. #define GET_TX_DESC_POLLUTED_8814A(txdesc) GET_TX_DESC_POLLUTED(txdesc)
  189. #define SET_TX_DESC_TXPWR_OFSET_8814A(txdesc, value) \
  190. SET_TX_DESC_TXPWR_OFSET(txdesc, value)
  191. #define GET_TX_DESC_TXPWR_OFSET_8814A(txdesc) GET_TX_DESC_TXPWR_OFSET(txdesc)
  192. #define SET_TX_DESC_TX_ANT_8814A(txdesc, value) \
  193. SET_TX_DESC_TX_ANT(txdesc, value)
  194. #define GET_TX_DESC_TX_ANT_8814A(txdesc) GET_TX_DESC_TX_ANT(txdesc)
  195. #define SET_TX_DESC_PORT_ID_8814A(txdesc, value) \
  196. SET_TX_DESC_PORT_ID(txdesc, value)
  197. #define GET_TX_DESC_PORT_ID_8814A(txdesc) GET_TX_DESC_PORT_ID(txdesc)
  198. #define SET_TX_DESC_SIGNALING_TAPKT_EN_8814A(txdesc, value) \
  199. SET_TX_DESC_SIGNALING_TAPKT_EN(txdesc, value)
  200. #define GET_TX_DESC_SIGNALING_TAPKT_EN_8814A(txdesc) \
  201. GET_TX_DESC_SIGNALING_TAPKT_EN(txdesc)
  202. #define SET_TX_DESC_RTS_SC_8814A(txdesc, value) \
  203. SET_TX_DESC_RTS_SC(txdesc, value)
  204. #define GET_TX_DESC_RTS_SC_8814A(txdesc) GET_TX_DESC_RTS_SC(txdesc)
  205. #define SET_TX_DESC_RTS_SHORT_8814A(txdesc, value) \
  206. SET_TX_DESC_RTS_SHORT(txdesc, value)
  207. #define GET_TX_DESC_RTS_SHORT_8814A(txdesc) GET_TX_DESC_RTS_SHORT(txdesc)
  208. #define SET_TX_DESC_VCS_STBC_8814A(txdesc, value) \
  209. SET_TX_DESC_VCS_STBC(txdesc, value)
  210. #define GET_TX_DESC_VCS_STBC_8814A(txdesc) GET_TX_DESC_VCS_STBC(txdesc)
  211. #define SET_TX_DESC_DATA_STBC_8814A(txdesc, value) \
  212. SET_TX_DESC_DATA_STBC(txdesc, value)
  213. #define GET_TX_DESC_DATA_STBC_8814A(txdesc) GET_TX_DESC_DATA_STBC(txdesc)
  214. #define SET_TX_DESC_DATA_LDPC_8814A(txdesc, value) \
  215. SET_TX_DESC_DATA_LDPC(txdesc, value)
  216. #define GET_TX_DESC_DATA_LDPC_8814A(txdesc) GET_TX_DESC_DATA_LDPC(txdesc)
  217. #define SET_TX_DESC_DATA_BW_8814A(txdesc, value) \
  218. SET_TX_DESC_DATA_BW(txdesc, value)
  219. #define GET_TX_DESC_DATA_BW_8814A(txdesc) GET_TX_DESC_DATA_BW(txdesc)
  220. #define SET_TX_DESC_DATA_SHORT_8814A(txdesc, value) \
  221. SET_TX_DESC_DATA_SHORT(txdesc, value)
  222. #define GET_TX_DESC_DATA_SHORT_8814A(txdesc) GET_TX_DESC_DATA_SHORT(txdesc)
  223. #define SET_TX_DESC_DATA_SC_8814A(txdesc, value) \
  224. SET_TX_DESC_DATA_SC(txdesc, value)
  225. #define GET_TX_DESC_DATA_SC_8814A(txdesc) GET_TX_DESC_DATA_SC(txdesc)
  226. /*TXDESC_WORD6*/
  227. #define SET_TX_DESC_ANTSEL_D_8814A(txdesc, value) \
  228. SET_TX_DESC_ANTSEL_D(txdesc, value)
  229. #define GET_TX_DESC_ANTSEL_D_8814A(txdesc) GET_TX_DESC_ANTSEL_D(txdesc)
  230. #define SET_TX_DESC_ANT_MAPD_8814A(txdesc, value) \
  231. SET_TX_DESC_ANT_MAPD(txdesc, value)
  232. #define GET_TX_DESC_ANT_MAPD_8814A(txdesc) GET_TX_DESC_ANT_MAPD(txdesc)
  233. #define SET_TX_DESC_ANT_MAPC_8814A(txdesc, value) \
  234. SET_TX_DESC_ANT_MAPC(txdesc, value)
  235. #define GET_TX_DESC_ANT_MAPC_8814A(txdesc) GET_TX_DESC_ANT_MAPC(txdesc)
  236. #define SET_TX_DESC_ANT_MAPB_8814A(txdesc, value) \
  237. SET_TX_DESC_ANT_MAPB(txdesc, value)
  238. #define GET_TX_DESC_ANT_MAPB_8814A(txdesc) GET_TX_DESC_ANT_MAPB(txdesc)
  239. #define SET_TX_DESC_ANT_MAPA_8814A(txdesc, value) \
  240. SET_TX_DESC_ANT_MAPA(txdesc, value)
  241. #define GET_TX_DESC_ANT_MAPA_8814A(txdesc) GET_TX_DESC_ANT_MAPA(txdesc)
  242. #define SET_TX_DESC_ANTSEL_C_8814A(txdesc, value) \
  243. SET_TX_DESC_ANTSEL_C(txdesc, value)
  244. #define GET_TX_DESC_ANTSEL_C_8814A(txdesc) GET_TX_DESC_ANTSEL_C(txdesc)
  245. #define SET_TX_DESC_ANTSEL_B_8814A(txdesc, value) \
  246. SET_TX_DESC_ANTSEL_B(txdesc, value)
  247. #define GET_TX_DESC_ANTSEL_B_8814A(txdesc) GET_TX_DESC_ANTSEL_B(txdesc)
  248. #define SET_TX_DESC_ANTSEL_A_8814A(txdesc, value) \
  249. SET_TX_DESC_ANTSEL_A(txdesc, value)
  250. #define GET_TX_DESC_ANTSEL_A_8814A(txdesc) GET_TX_DESC_ANTSEL_A(txdesc)
  251. #define SET_TX_DESC_MBSSID_8814A(txdesc, value) \
  252. SET_TX_DESC_MBSSID(txdesc, value)
  253. #define GET_TX_DESC_MBSSID_8814A(txdesc) GET_TX_DESC_MBSSID(txdesc)
  254. #define SET_TX_DESC_SW_DEFINE_8814A(txdesc, value) \
  255. SET_TX_DESC_SW_DEFINE(txdesc, value)
  256. #define GET_TX_DESC_SW_DEFINE_8814A(txdesc) GET_TX_DESC_SW_DEFINE(txdesc)
  257. /*TXDESC_WORD7*/
  258. #define SET_TX_DESC_DMA_TXAGG_NUM_8814A(txdesc, value) \
  259. SET_TX_DESC_DMA_TXAGG_NUM(txdesc, value)
  260. #define GET_TX_DESC_DMA_TXAGG_NUM_8814A(txdesc) \
  261. GET_TX_DESC_DMA_TXAGG_NUM(txdesc)
  262. #define SET_TX_DESC_FINAL_DATA_RATE_8814A(txdesc, value) \
  263. SET_TX_DESC_FINAL_DATA_RATE(txdesc, value)
  264. #define GET_TX_DESC_FINAL_DATA_RATE_8814A(txdesc) \
  265. GET_TX_DESC_FINAL_DATA_RATE(txdesc)
  266. #define SET_TX_DESC_NTX_MAP_8814A(txdesc, value) \
  267. SET_TX_DESC_NTX_MAP(txdesc, value)
  268. #define GET_TX_DESC_NTX_MAP_8814A(txdesc) GET_TX_DESC_NTX_MAP(txdesc)
  269. #define SET_TX_DESC_TX_BUFF_SIZE_8814A(txdesc, value) \
  270. SET_TX_DESC_TX_BUFF_SIZE(txdesc, value)
  271. #define GET_TX_DESC_TX_BUFF_SIZE_8814A(txdesc) GET_TX_DESC_TX_BUFF_SIZE(txdesc)
  272. #define SET_TX_DESC_TXDESC_CHECKSUM_8814A(txdesc, value) \
  273. SET_TX_DESC_TXDESC_CHECKSUM(txdesc, value)
  274. #define GET_TX_DESC_TXDESC_CHECKSUM_8814A(txdesc) \
  275. GET_TX_DESC_TXDESC_CHECKSUM(txdesc)
  276. #define SET_TX_DESC_TIMESTAMP_8814A(txdesc, value) \
  277. SET_TX_DESC_TIMESTAMP(txdesc, value)
  278. #define GET_TX_DESC_TIMESTAMP_8814A(txdesc) GET_TX_DESC_TIMESTAMP(txdesc)
  279. /*TXDESC_WORD8*/
  280. #define SET_TX_DESC_TXWIFI_CP_8814A(txdesc, value) \
  281. SET_TX_DESC_TXWIFI_CP(txdesc, value)
  282. #define GET_TX_DESC_TXWIFI_CP_8814A(txdesc) GET_TX_DESC_TXWIFI_CP(txdesc)
  283. #define SET_TX_DESC_MAC_CP_8814A(txdesc, value) \
  284. SET_TX_DESC_MAC_CP(txdesc, value)
  285. #define GET_TX_DESC_MAC_CP_8814A(txdesc) GET_TX_DESC_MAC_CP(txdesc)
  286. #define SET_TX_DESC_STW_PKTRE_DIS_8814A(txdesc, value) \
  287. SET_TX_DESC_STW_PKTRE_DIS(txdesc, value)
  288. #define GET_TX_DESC_STW_PKTRE_DIS_8814A(txdesc) \
  289. GET_TX_DESC_STW_PKTRE_DIS(txdesc)
  290. #define SET_TX_DESC_STW_RB_DIS_8814A(txdesc, value) \
  291. SET_TX_DESC_STW_RB_DIS(txdesc, value)
  292. #define GET_TX_DESC_STW_RB_DIS_8814A(txdesc) GET_TX_DESC_STW_RB_DIS(txdesc)
  293. #define SET_TX_DESC_STW_RATE_DIS_8814A(txdesc, value) \
  294. SET_TX_DESC_STW_RATE_DIS(txdesc, value)
  295. #define GET_TX_DESC_STW_RATE_DIS_8814A(txdesc) GET_TX_DESC_STW_RATE_DIS(txdesc)
  296. #define SET_TX_DESC_STW_ANT_DIS_8814A(txdesc, value) \
  297. SET_TX_DESC_STW_ANT_DIS(txdesc, value)
  298. #define GET_TX_DESC_STW_ANT_DIS_8814A(txdesc) GET_TX_DESC_STW_ANT_DIS(txdesc)
  299. #define SET_TX_DESC_STW_EN_8814A(txdesc, value) \
  300. SET_TX_DESC_STW_EN(txdesc, value)
  301. #define GET_TX_DESC_STW_EN_8814A(txdesc) GET_TX_DESC_STW_EN(txdesc)
  302. #define SET_TX_DESC_SMH_EN_8814A(txdesc, value) \
  303. SET_TX_DESC_SMH_EN(txdesc, value)
  304. #define GET_TX_DESC_SMH_EN_8814A(txdesc) GET_TX_DESC_SMH_EN(txdesc)
  305. #define SET_TX_DESC_TAILPAGE_L_8814A(txdesc, value) \
  306. SET_TX_DESC_TAILPAGE_L(txdesc, value)
  307. #define GET_TX_DESC_TAILPAGE_L_8814A(txdesc) GET_TX_DESC_TAILPAGE_L(txdesc)
  308. #define SET_TX_DESC_SDIO_DMASEQ_8814A(txdesc, value) \
  309. SET_TX_DESC_SDIO_DMASEQ(txdesc, value)
  310. #define GET_TX_DESC_SDIO_DMASEQ_8814A(txdesc) GET_TX_DESC_SDIO_DMASEQ(txdesc)
  311. #define SET_TX_DESC_NEXTHEADPAGE_L_8814A(txdesc, value) \
  312. SET_TX_DESC_NEXTHEADPAGE_L(txdesc, value)
  313. #define GET_TX_DESC_NEXTHEADPAGE_L_8814A(txdesc) \
  314. GET_TX_DESC_NEXTHEADPAGE_L(txdesc)
  315. #define SET_TX_DESC_EN_HWSEQ_8814A(txdesc, value) \
  316. SET_TX_DESC_EN_HWSEQ(txdesc, value)
  317. #define GET_TX_DESC_EN_HWSEQ_8814A(txdesc) GET_TX_DESC_EN_HWSEQ(txdesc)
  318. #define SET_TX_DESC_EN_HWEXSEQ_8814A(txdesc, value) \
  319. SET_TX_DESC_EN_HWEXSEQ(txdesc, value)
  320. #define GET_TX_DESC_EN_HWEXSEQ_8814A(txdesc) GET_TX_DESC_EN_HWEXSEQ(txdesc)
  321. #define SET_TX_DESC_DATA_RC_8814A(txdesc, value) \
  322. SET_TX_DESC_DATA_RC(txdesc, value)
  323. #define GET_TX_DESC_DATA_RC_8814A(txdesc) GET_TX_DESC_DATA_RC(txdesc)
  324. #define SET_TX_DESC_BAR_RTY_TH_8814A(txdesc, value) \
  325. SET_TX_DESC_BAR_RTY_TH(txdesc, value)
  326. #define GET_TX_DESC_BAR_RTY_TH_8814A(txdesc) GET_TX_DESC_BAR_RTY_TH(txdesc)
  327. #define SET_TX_DESC_RTS_RC_8814A(txdesc, value) \
  328. SET_TX_DESC_RTS_RC(txdesc, value)
  329. #define GET_TX_DESC_RTS_RC_8814A(txdesc) GET_TX_DESC_RTS_RC(txdesc)
  330. /*TXDESC_WORD9*/
  331. #define SET_TX_DESC_TAILPAGE_H_8814A(txdesc, value) \
  332. SET_TX_DESC_TAILPAGE_H(txdesc, value)
  333. #define GET_TX_DESC_TAILPAGE_H_8814A(txdesc) GET_TX_DESC_TAILPAGE_H(txdesc)
  334. #define SET_TX_DESC_NEXTHEADPAGE_H_8814A(txdesc, value) \
  335. SET_TX_DESC_NEXTHEADPAGE_H(txdesc, value)
  336. #define GET_TX_DESC_NEXTHEADPAGE_H_8814A(txdesc) \
  337. GET_TX_DESC_NEXTHEADPAGE_H(txdesc)
  338. #define SET_TX_DESC_SW_SEQ_8814A(txdesc, value) \
  339. SET_TX_DESC_SW_SEQ(txdesc, value)
  340. #define GET_TX_DESC_SW_SEQ_8814A(txdesc) GET_TX_DESC_SW_SEQ(txdesc)
  341. #define SET_TX_DESC_TXBF_PATH_8814A(txdesc, value) \
  342. SET_TX_DESC_TXBF_PATH(txdesc, value)
  343. #define GET_TX_DESC_TXBF_PATH_8814A(txdesc) GET_TX_DESC_TXBF_PATH(txdesc)
  344. #define SET_TX_DESC_PADDING_LEN_8814A(txdesc, value) \
  345. SET_TX_DESC_PADDING_LEN(txdesc, value)
  346. #define GET_TX_DESC_PADDING_LEN_8814A(txdesc) GET_TX_DESC_PADDING_LEN(txdesc)
  347. #define SET_TX_DESC_GROUP_BIT_IE_OFFSET_8814A(txdesc, value) \
  348. SET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc, value)
  349. #define GET_TX_DESC_GROUP_BIT_IE_OFFSET_8814A(txdesc) \
  350. GET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc)
  351. /*WORD10*/
  352. #endif
  353. #if (HALMAC_8822B_SUPPORT)
  354. /*TXDESC_WORD0*/
  355. #define SET_TX_DESC_DISQSELSEQ_8822B(txdesc, value) \
  356. SET_TX_DESC_DISQSELSEQ(txdesc, value)
  357. #define GET_TX_DESC_DISQSELSEQ_8822B(txdesc) GET_TX_DESC_DISQSELSEQ(txdesc)
  358. #define SET_TX_DESC_GF_8822B(txdesc, value) SET_TX_DESC_GF(txdesc, value)
  359. #define GET_TX_DESC_GF_8822B(txdesc) GET_TX_DESC_GF(txdesc)
  360. #define SET_TX_DESC_NO_ACM_8822B(txdesc, value) \
  361. SET_TX_DESC_NO_ACM(txdesc, value)
  362. #define GET_TX_DESC_NO_ACM_8822B(txdesc) GET_TX_DESC_NO_ACM(txdesc)
  363. #define SET_TX_DESC_BCNPKT_TSF_CTRL_8822B(txdesc, value) \
  364. SET_TX_DESC_BCNPKT_TSF_CTRL(txdesc, value)
  365. #define GET_TX_DESC_BCNPKT_TSF_CTRL_8822B(txdesc) \
  366. GET_TX_DESC_BCNPKT_TSF_CTRL(txdesc)
  367. #define SET_TX_DESC_AMSDU_PAD_EN_8822B(txdesc, value) \
  368. SET_TX_DESC_AMSDU_PAD_EN(txdesc, value)
  369. #define GET_TX_DESC_AMSDU_PAD_EN_8822B(txdesc) GET_TX_DESC_AMSDU_PAD_EN(txdesc)
  370. #define SET_TX_DESC_LS_8822B(txdesc, value) SET_TX_DESC_LS(txdesc, value)
  371. #define GET_TX_DESC_LS_8822B(txdesc) GET_TX_DESC_LS(txdesc)
  372. #define SET_TX_DESC_HTC_8822B(txdesc, value) SET_TX_DESC_HTC(txdesc, value)
  373. #define GET_TX_DESC_HTC_8822B(txdesc) GET_TX_DESC_HTC(txdesc)
  374. #define SET_TX_DESC_BMC_8822B(txdesc, value) SET_TX_DESC_BMC(txdesc, value)
  375. #define GET_TX_DESC_BMC_8822B(txdesc) GET_TX_DESC_BMC(txdesc)
  376. #define SET_TX_DESC_OFFSET_8822B(txdesc, value) \
  377. SET_TX_DESC_OFFSET(txdesc, value)
  378. #define GET_TX_DESC_OFFSET_8822B(txdesc) GET_TX_DESC_OFFSET(txdesc)
  379. #define SET_TX_DESC_TXPKTSIZE_8822B(txdesc, value) \
  380. SET_TX_DESC_TXPKTSIZE(txdesc, value)
  381. #define GET_TX_DESC_TXPKTSIZE_8822B(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
  382. /*WORD1*/
  383. #define SET_TX_DESC_MOREDATA_8822B(txdesc, value) \
  384. SET_TX_DESC_MOREDATA(txdesc, value)
  385. #define GET_TX_DESC_MOREDATA_8822B(txdesc) GET_TX_DESC_MOREDATA(txdesc)
  386. #define SET_TX_DESC_PKT_OFFSET_8822B(txdesc, value) \
  387. SET_TX_DESC_PKT_OFFSET(txdesc, value)
  388. #define GET_TX_DESC_PKT_OFFSET_8822B(txdesc) GET_TX_DESC_PKT_OFFSET(txdesc)
  389. #define SET_TX_DESC_SEC_TYPE_8822B(txdesc, value) \
  390. SET_TX_DESC_SEC_TYPE(txdesc, value)
  391. #define GET_TX_DESC_SEC_TYPE_8822B(txdesc) GET_TX_DESC_SEC_TYPE(txdesc)
  392. #define SET_TX_DESC_EN_DESC_ID_8822B(txdesc, value) \
  393. SET_TX_DESC_EN_DESC_ID(txdesc, value)
  394. #define GET_TX_DESC_EN_DESC_ID_8822B(txdesc) GET_TX_DESC_EN_DESC_ID(txdesc)
  395. #define SET_TX_DESC_RATE_ID_8822B(txdesc, value) \
  396. SET_TX_DESC_RATE_ID(txdesc, value)
  397. #define GET_TX_DESC_RATE_ID_8822B(txdesc) GET_TX_DESC_RATE_ID(txdesc)
  398. #define SET_TX_DESC_PIFS_8822B(txdesc, value) SET_TX_DESC_PIFS(txdesc, value)
  399. #define GET_TX_DESC_PIFS_8822B(txdesc) GET_TX_DESC_PIFS(txdesc)
  400. #define SET_TX_DESC_LSIG_TXOP_EN_8822B(txdesc, value) \
  401. SET_TX_DESC_LSIG_TXOP_EN(txdesc, value)
  402. #define GET_TX_DESC_LSIG_TXOP_EN_8822B(txdesc) GET_TX_DESC_LSIG_TXOP_EN(txdesc)
  403. #define SET_TX_DESC_RD_NAV_EXT_8822B(txdesc, value) \
  404. SET_TX_DESC_RD_NAV_EXT(txdesc, value)
  405. #define GET_TX_DESC_RD_NAV_EXT_8822B(txdesc) GET_TX_DESC_RD_NAV_EXT(txdesc)
  406. #define SET_TX_DESC_QSEL_8822B(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
  407. #define GET_TX_DESC_QSEL_8822B(txdesc) GET_TX_DESC_QSEL(txdesc)
  408. #define SET_TX_DESC_MACID_8822B(txdesc, value) SET_TX_DESC_MACID(txdesc, value)
  409. #define GET_TX_DESC_MACID_8822B(txdesc) GET_TX_DESC_MACID(txdesc)
  410. /*TXDESC_WORD2*/
  411. #define SET_TX_DESC_HW_AES_IV_8822B(txdesc, value) \
  412. SET_TX_DESC_HW_AES_IV(txdesc, value)
  413. #define GET_TX_DESC_HW_AES_IV_8822B(txdesc) GET_TX_DESC_HW_AES_IV(txdesc)
  414. #define SET_TX_DESC_FTM_EN_8822B(txdesc, value) \
  415. SET_TX_DESC_FTM_EN(txdesc, value)
  416. #define GET_TX_DESC_FTM_EN_8822B(txdesc) GET_TX_DESC_FTM_EN(txdesc)
  417. #define SET_TX_DESC_G_ID_8822B(txdesc, value) SET_TX_DESC_G_ID(txdesc, value)
  418. #define GET_TX_DESC_G_ID_8822B(txdesc) GET_TX_DESC_G_ID(txdesc)
  419. #define SET_TX_DESC_BT_NULL_8822B(txdesc, value) \
  420. SET_TX_DESC_BT_NULL(txdesc, value)
  421. #define GET_TX_DESC_BT_NULL_8822B(txdesc) GET_TX_DESC_BT_NULL(txdesc)
  422. #define SET_TX_DESC_AMPDU_DENSITY_8822B(txdesc, value) \
  423. SET_TX_DESC_AMPDU_DENSITY(txdesc, value)
  424. #define GET_TX_DESC_AMPDU_DENSITY_8822B(txdesc) \
  425. GET_TX_DESC_AMPDU_DENSITY(txdesc)
  426. #define SET_TX_DESC_SPE_RPT_8822B(txdesc, value) \
  427. SET_TX_DESC_SPE_RPT(txdesc, value)
  428. #define GET_TX_DESC_SPE_RPT_8822B(txdesc) GET_TX_DESC_SPE_RPT(txdesc)
  429. #define SET_TX_DESC_RAW_8822B(txdesc, value) SET_TX_DESC_RAW(txdesc, value)
  430. #define GET_TX_DESC_RAW_8822B(txdesc) GET_TX_DESC_RAW(txdesc)
  431. #define SET_TX_DESC_MOREFRAG_8822B(txdesc, value) \
  432. SET_TX_DESC_MOREFRAG(txdesc, value)
  433. #define GET_TX_DESC_MOREFRAG_8822B(txdesc) GET_TX_DESC_MOREFRAG(txdesc)
  434. #define SET_TX_DESC_BK_8822B(txdesc, value) SET_TX_DESC_BK(txdesc, value)
  435. #define GET_TX_DESC_BK_8822B(txdesc) GET_TX_DESC_BK(txdesc)
  436. #define SET_TX_DESC_NULL_1_8822B(txdesc, value) \
  437. SET_TX_DESC_NULL_1(txdesc, value)
  438. #define GET_TX_DESC_NULL_1_8822B(txdesc) GET_TX_DESC_NULL_1(txdesc)
  439. #define SET_TX_DESC_NULL_0_8822B(txdesc, value) \
  440. SET_TX_DESC_NULL_0(txdesc, value)
  441. #define GET_TX_DESC_NULL_0_8822B(txdesc) GET_TX_DESC_NULL_0(txdesc)
  442. #define SET_TX_DESC_RDG_EN_8822B(txdesc, value) \
  443. SET_TX_DESC_RDG_EN(txdesc, value)
  444. #define GET_TX_DESC_RDG_EN_8822B(txdesc) GET_TX_DESC_RDG_EN(txdesc)
  445. #define SET_TX_DESC_AGG_EN_8822B(txdesc, value) \
  446. SET_TX_DESC_AGG_EN(txdesc, value)
  447. #define GET_TX_DESC_AGG_EN_8822B(txdesc) GET_TX_DESC_AGG_EN(txdesc)
  448. #define SET_TX_DESC_CCA_RTS_8822B(txdesc, value) \
  449. SET_TX_DESC_CCA_RTS(txdesc, value)
  450. #define GET_TX_DESC_CCA_RTS_8822B(txdesc) GET_TX_DESC_CCA_RTS(txdesc)
  451. #define SET_TX_DESC_TRI_FRAME_8822B(txdesc, value) \
  452. SET_TX_DESC_TRI_FRAME(txdesc, value)
  453. #define GET_TX_DESC_TRI_FRAME_8822B(txdesc) GET_TX_DESC_TRI_FRAME(txdesc)
  454. #define SET_TX_DESC_P_AID_8822B(txdesc, value) SET_TX_DESC_P_AID(txdesc, value)
  455. #define GET_TX_DESC_P_AID_8822B(txdesc) GET_TX_DESC_P_AID(txdesc)
  456. /*TXDESC_WORD3*/
  457. #define SET_TX_DESC_AMPDU_MAX_TIME_8822B(txdesc, value) \
  458. SET_TX_DESC_AMPDU_MAX_TIME(txdesc, value)
  459. #define GET_TX_DESC_AMPDU_MAX_TIME_8822B(txdesc) \
  460. GET_TX_DESC_AMPDU_MAX_TIME(txdesc)
  461. #define SET_TX_DESC_NDPA_8822B(txdesc, value) SET_TX_DESC_NDPA(txdesc, value)
  462. #define GET_TX_DESC_NDPA_8822B(txdesc) GET_TX_DESC_NDPA(txdesc)
  463. #define SET_TX_DESC_MAX_AGG_NUM_8822B(txdesc, value) \
  464. SET_TX_DESC_MAX_AGG_NUM(txdesc, value)
  465. #define GET_TX_DESC_MAX_AGG_NUM_8822B(txdesc) GET_TX_DESC_MAX_AGG_NUM(txdesc)
  466. #define SET_TX_DESC_USE_MAX_TIME_EN_8822B(txdesc, value) \
  467. SET_TX_DESC_USE_MAX_TIME_EN(txdesc, value)
  468. #define GET_TX_DESC_USE_MAX_TIME_EN_8822B(txdesc) \
  469. GET_TX_DESC_USE_MAX_TIME_EN(txdesc)
  470. #define SET_TX_DESC_NAVUSEHDR_8822B(txdesc, value) \
  471. SET_TX_DESC_NAVUSEHDR(txdesc, value)
  472. #define GET_TX_DESC_NAVUSEHDR_8822B(txdesc) GET_TX_DESC_NAVUSEHDR(txdesc)
  473. #define SET_TX_DESC_CHK_EN_8822B(txdesc, value) \
  474. SET_TX_DESC_CHK_EN(txdesc, value)
  475. #define GET_TX_DESC_CHK_EN_8822B(txdesc) GET_TX_DESC_CHK_EN(txdesc)
  476. #define SET_TX_DESC_HW_RTS_EN_8822B(txdesc, value) \
  477. SET_TX_DESC_HW_RTS_EN(txdesc, value)
  478. #define GET_TX_DESC_HW_RTS_EN_8822B(txdesc) GET_TX_DESC_HW_RTS_EN(txdesc)
  479. #define SET_TX_DESC_RTSEN_8822B(txdesc, value) SET_TX_DESC_RTSEN(txdesc, value)
  480. #define GET_TX_DESC_RTSEN_8822B(txdesc) GET_TX_DESC_RTSEN(txdesc)
  481. #define SET_TX_DESC_CTS2SELF_8822B(txdesc, value) \
  482. SET_TX_DESC_CTS2SELF(txdesc, value)
  483. #define GET_TX_DESC_CTS2SELF_8822B(txdesc) GET_TX_DESC_CTS2SELF(txdesc)
  484. #define SET_TX_DESC_DISDATAFB_8822B(txdesc, value) \
  485. SET_TX_DESC_DISDATAFB(txdesc, value)
  486. #define GET_TX_DESC_DISDATAFB_8822B(txdesc) GET_TX_DESC_DISDATAFB(txdesc)
  487. #define SET_TX_DESC_DISRTSFB_8822B(txdesc, value) \
  488. SET_TX_DESC_DISRTSFB(txdesc, value)
  489. #define GET_TX_DESC_DISRTSFB_8822B(txdesc) GET_TX_DESC_DISRTSFB(txdesc)
  490. #define SET_TX_DESC_USE_RATE_8822B(txdesc, value) \
  491. SET_TX_DESC_USE_RATE(txdesc, value)
  492. #define GET_TX_DESC_USE_RATE_8822B(txdesc) GET_TX_DESC_USE_RATE(txdesc)
  493. #define SET_TX_DESC_HW_SSN_SEL_8822B(txdesc, value) \
  494. SET_TX_DESC_HW_SSN_SEL(txdesc, value)
  495. #define GET_TX_DESC_HW_SSN_SEL_8822B(txdesc) GET_TX_DESC_HW_SSN_SEL(txdesc)
  496. #define SET_TX_DESC_WHEADER_LEN_8822B(txdesc, value) \
  497. SET_TX_DESC_WHEADER_LEN(txdesc, value)
  498. #define GET_TX_DESC_WHEADER_LEN_8822B(txdesc) GET_TX_DESC_WHEADER_LEN(txdesc)
  499. /*TXDESC_WORD4*/
  500. #define SET_TX_DESC_PCTS_MASK_IDX_8822B(txdesc, value) \
  501. SET_TX_DESC_PCTS_MASK_IDX(txdesc, value)
  502. #define GET_TX_DESC_PCTS_MASK_IDX_8822B(txdesc) \
  503. GET_TX_DESC_PCTS_MASK_IDX(txdesc)
  504. #define SET_TX_DESC_PCTS_EN_8822B(txdesc, value) \
  505. SET_TX_DESC_PCTS_EN(txdesc, value)
  506. #define GET_TX_DESC_PCTS_EN_8822B(txdesc) GET_TX_DESC_PCTS_EN(txdesc)
  507. #define SET_TX_DESC_RTSRATE_8822B(txdesc, value) \
  508. SET_TX_DESC_RTSRATE(txdesc, value)
  509. #define GET_TX_DESC_RTSRATE_8822B(txdesc) GET_TX_DESC_RTSRATE(txdesc)
  510. #define SET_TX_DESC_RTS_DATA_RTY_LMT_8822B(txdesc, value) \
  511. SET_TX_DESC_RTS_DATA_RTY_LMT(txdesc, value)
  512. #define GET_TX_DESC_RTS_DATA_RTY_LMT_8822B(txdesc) \
  513. GET_TX_DESC_RTS_DATA_RTY_LMT(txdesc)
  514. #define SET_TX_DESC_RTY_LMT_EN_8822B(txdesc, value) \
  515. SET_TX_DESC_RTY_LMT_EN(txdesc, value)
  516. #define GET_TX_DESC_RTY_LMT_EN_8822B(txdesc) GET_TX_DESC_RTY_LMT_EN(txdesc)
  517. #define SET_TX_DESC_RTS_RTY_LOWEST_RATE_8822B(txdesc, value) \
  518. SET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc, value)
  519. #define GET_TX_DESC_RTS_RTY_LOWEST_RATE_8822B(txdesc) \
  520. GET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc)
  521. #define SET_TX_DESC_DATA_RTY_LOWEST_RATE_8822B(txdesc, value) \
  522. SET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc, value)
  523. #define GET_TX_DESC_DATA_RTY_LOWEST_RATE_8822B(txdesc) \
  524. GET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc)
  525. #define SET_TX_DESC_TRY_RATE_8822B(txdesc, value) \
  526. SET_TX_DESC_TRY_RATE(txdesc, value)
  527. #define GET_TX_DESC_TRY_RATE_8822B(txdesc) GET_TX_DESC_TRY_RATE(txdesc)
  528. #define SET_TX_DESC_DATARATE_8822B(txdesc, value) \
  529. SET_TX_DESC_DATARATE(txdesc, value)
  530. #define GET_TX_DESC_DATARATE_8822B(txdesc) GET_TX_DESC_DATARATE(txdesc)
  531. /*TXDESC_WORD5*/
  532. #define SET_TX_DESC_POLLUTED_8822B(txdesc, value) \
  533. SET_TX_DESC_POLLUTED(txdesc, value)
  534. #define GET_TX_DESC_POLLUTED_8822B(txdesc) GET_TX_DESC_POLLUTED(txdesc)
  535. #define SET_TX_DESC_TXPWR_OFSET_8822B(txdesc, value) \
  536. SET_TX_DESC_TXPWR_OFSET(txdesc, value)
  537. #define GET_TX_DESC_TXPWR_OFSET_8822B(txdesc) GET_TX_DESC_TXPWR_OFSET(txdesc)
  538. #define SET_TX_DESC_TX_ANT_8822B(txdesc, value) \
  539. SET_TX_DESC_TX_ANT(txdesc, value)
  540. #define GET_TX_DESC_TX_ANT_8822B(txdesc) GET_TX_DESC_TX_ANT(txdesc)
  541. #define SET_TX_DESC_PORT_ID_8822B(txdesc, value) \
  542. SET_TX_DESC_PORT_ID(txdesc, value)
  543. #define GET_TX_DESC_PORT_ID_8822B(txdesc) GET_TX_DESC_PORT_ID(txdesc)
  544. #define SET_TX_DESC_MULTIPLE_PORT_8822B(txdesc, value) \
  545. SET_TX_DESC_MULTIPLE_PORT(txdesc, value)
  546. #define GET_TX_DESC_MULTIPLE_PORT_8822B(txdesc) \
  547. GET_TX_DESC_MULTIPLE_PORT(txdesc)
  548. #define SET_TX_DESC_SIGNALING_TAPKT_EN_8822B(txdesc, value) \
  549. SET_TX_DESC_SIGNALING_TAPKT_EN(txdesc, value)
  550. #define GET_TX_DESC_SIGNALING_TAPKT_EN_8822B(txdesc) \
  551. GET_TX_DESC_SIGNALING_TAPKT_EN(txdesc)
  552. #define SET_TX_DESC_SIGNALING_TA_PKT_SC_8822B(txdesc, value) \
  553. SET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc, value)
  554. #define GET_TX_DESC_SIGNALING_TA_PKT_SC_8822B(txdesc) \
  555. GET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc)
  556. #define SET_TX_DESC_RTS_SHORT_8822B(txdesc, value) \
  557. SET_TX_DESC_RTS_SHORT(txdesc, value)
  558. #define GET_TX_DESC_RTS_SHORT_8822B(txdesc) GET_TX_DESC_RTS_SHORT(txdesc)
  559. #define SET_TX_DESC_VCS_STBC_8822B(txdesc, value) \
  560. SET_TX_DESC_VCS_STBC(txdesc, value)
  561. #define GET_TX_DESC_VCS_STBC_8822B(txdesc) GET_TX_DESC_VCS_STBC(txdesc)
  562. #define SET_TX_DESC_DATA_STBC_8822B(txdesc, value) \
  563. SET_TX_DESC_DATA_STBC(txdesc, value)
  564. #define GET_TX_DESC_DATA_STBC_8822B(txdesc) GET_TX_DESC_DATA_STBC(txdesc)
  565. #define SET_TX_DESC_DATA_LDPC_8822B(txdesc, value) \
  566. SET_TX_DESC_DATA_LDPC(txdesc, value)
  567. #define GET_TX_DESC_DATA_LDPC_8822B(txdesc) GET_TX_DESC_DATA_LDPC(txdesc)
  568. #define SET_TX_DESC_DATA_BW_8822B(txdesc, value) \
  569. SET_TX_DESC_DATA_BW(txdesc, value)
  570. #define GET_TX_DESC_DATA_BW_8822B(txdesc) GET_TX_DESC_DATA_BW(txdesc)
  571. #define SET_TX_DESC_DATA_SHORT_8822B(txdesc, value) \
  572. SET_TX_DESC_DATA_SHORT(txdesc, value)
  573. #define GET_TX_DESC_DATA_SHORT_8822B(txdesc) GET_TX_DESC_DATA_SHORT(txdesc)
  574. #define SET_TX_DESC_DATA_SC_8822B(txdesc, value) \
  575. SET_TX_DESC_DATA_SC(txdesc, value)
  576. #define GET_TX_DESC_DATA_SC_8822B(txdesc) GET_TX_DESC_DATA_SC(txdesc)
  577. /*TXDESC_WORD6*/
  578. #define SET_TX_DESC_ANTSEL_D_8822B(txdesc, value) \
  579. SET_TX_DESC_ANTSEL_D(txdesc, value)
  580. #define GET_TX_DESC_ANTSEL_D_8822B(txdesc) GET_TX_DESC_ANTSEL_D(txdesc)
  581. #define SET_TX_DESC_ANT_MAPD_8822B(txdesc, value) \
  582. SET_TX_DESC_ANT_MAPD(txdesc, value)
  583. #define GET_TX_DESC_ANT_MAPD_8822B(txdesc) GET_TX_DESC_ANT_MAPD(txdesc)
  584. #define SET_TX_DESC_ANT_MAPC_8822B(txdesc, value) \
  585. SET_TX_DESC_ANT_MAPC(txdesc, value)
  586. #define GET_TX_DESC_ANT_MAPC_8822B(txdesc) GET_TX_DESC_ANT_MAPC(txdesc)
  587. #define SET_TX_DESC_ANT_MAPB_8822B(txdesc, value) \
  588. SET_TX_DESC_ANT_MAPB(txdesc, value)
  589. #define GET_TX_DESC_ANT_MAPB_8822B(txdesc) GET_TX_DESC_ANT_MAPB(txdesc)
  590. #define SET_TX_DESC_ANT_MAPA_8822B(txdesc, value) \
  591. SET_TX_DESC_ANT_MAPA(txdesc, value)
  592. #define GET_TX_DESC_ANT_MAPA_8822B(txdesc) GET_TX_DESC_ANT_MAPA(txdesc)
  593. #define SET_TX_DESC_ANTSEL_C_8822B(txdesc, value) \
  594. SET_TX_DESC_ANTSEL_C(txdesc, value)
  595. #define GET_TX_DESC_ANTSEL_C_8822B(txdesc) GET_TX_DESC_ANTSEL_C(txdesc)
  596. #define SET_TX_DESC_ANTSEL_B_8822B(txdesc, value) \
  597. SET_TX_DESC_ANTSEL_B(txdesc, value)
  598. #define GET_TX_DESC_ANTSEL_B_8822B(txdesc) GET_TX_DESC_ANTSEL_B(txdesc)
  599. #define SET_TX_DESC_ANTSEL_A_8822B(txdesc, value) \
  600. SET_TX_DESC_ANTSEL_A(txdesc, value)
  601. #define GET_TX_DESC_ANTSEL_A_8822B(txdesc) GET_TX_DESC_ANTSEL_A(txdesc)
  602. #define SET_TX_DESC_MBSSID_8822B(txdesc, value) \
  603. SET_TX_DESC_MBSSID(txdesc, value)
  604. #define GET_TX_DESC_MBSSID_8822B(txdesc) GET_TX_DESC_MBSSID(txdesc)
  605. #define SET_TX_DESC_SW_DEFINE_8822B(txdesc, value) \
  606. SET_TX_DESC_SW_DEFINE(txdesc, value)
  607. #define GET_TX_DESC_SW_DEFINE_8822B(txdesc) GET_TX_DESC_SW_DEFINE(txdesc)
  608. /*TXDESC_WORD7*/
  609. #define SET_TX_DESC_DMA_TXAGG_NUM_8822B(txdesc, value) \
  610. SET_TX_DESC_DMA_TXAGG_NUM(txdesc, value)
  611. #define GET_TX_DESC_DMA_TXAGG_NUM_8822B(txdesc) \
  612. GET_TX_DESC_DMA_TXAGG_NUM(txdesc)
  613. #define SET_TX_DESC_FINAL_DATA_RATE_8822B(txdesc, value) \
  614. SET_TX_DESC_FINAL_DATA_RATE(txdesc, value)
  615. #define GET_TX_DESC_FINAL_DATA_RATE_8822B(txdesc) \
  616. GET_TX_DESC_FINAL_DATA_RATE(txdesc)
  617. #define SET_TX_DESC_NTX_MAP_8822B(txdesc, value) \
  618. SET_TX_DESC_NTX_MAP(txdesc, value)
  619. #define GET_TX_DESC_NTX_MAP_8822B(txdesc) GET_TX_DESC_NTX_MAP(txdesc)
  620. #define SET_TX_DESC_TX_BUFF_SIZE_8822B(txdesc, value) \
  621. SET_TX_DESC_TX_BUFF_SIZE(txdesc, value)
  622. #define GET_TX_DESC_TX_BUFF_SIZE_8822B(txdesc) GET_TX_DESC_TX_BUFF_SIZE(txdesc)
  623. #define SET_TX_DESC_TXDESC_CHECKSUM_8822B(txdesc, value) \
  624. SET_TX_DESC_TXDESC_CHECKSUM(txdesc, value)
  625. #define GET_TX_DESC_TXDESC_CHECKSUM_8822B(txdesc) \
  626. GET_TX_DESC_TXDESC_CHECKSUM(txdesc)
  627. #define SET_TX_DESC_TIMESTAMP_8822B(txdesc, value) \
  628. SET_TX_DESC_TIMESTAMP(txdesc, value)
  629. #define GET_TX_DESC_TIMESTAMP_8822B(txdesc) GET_TX_DESC_TIMESTAMP(txdesc)
  630. /*TXDESC_WORD8*/
  631. #define SET_TX_DESC_TXWIFI_CP_8822B(txdesc, value) \
  632. SET_TX_DESC_TXWIFI_CP(txdesc, value)
  633. #define GET_TX_DESC_TXWIFI_CP_8822B(txdesc) GET_TX_DESC_TXWIFI_CP(txdesc)
  634. #define SET_TX_DESC_MAC_CP_8822B(txdesc, value) \
  635. SET_TX_DESC_MAC_CP(txdesc, value)
  636. #define GET_TX_DESC_MAC_CP_8822B(txdesc) GET_TX_DESC_MAC_CP(txdesc)
  637. #define SET_TX_DESC_STW_PKTRE_DIS_8822B(txdesc, value) \
  638. SET_TX_DESC_STW_PKTRE_DIS(txdesc, value)
  639. #define GET_TX_DESC_STW_PKTRE_DIS_8822B(txdesc) \
  640. GET_TX_DESC_STW_PKTRE_DIS(txdesc)
  641. #define SET_TX_DESC_STW_RB_DIS_8822B(txdesc, value) \
  642. SET_TX_DESC_STW_RB_DIS(txdesc, value)
  643. #define GET_TX_DESC_STW_RB_DIS_8822B(txdesc) GET_TX_DESC_STW_RB_DIS(txdesc)
  644. #define SET_TX_DESC_STW_RATE_DIS_8822B(txdesc, value) \
  645. SET_TX_DESC_STW_RATE_DIS(txdesc, value)
  646. #define GET_TX_DESC_STW_RATE_DIS_8822B(txdesc) GET_TX_DESC_STW_RATE_DIS(txdesc)
  647. #define SET_TX_DESC_STW_ANT_DIS_8822B(txdesc, value) \
  648. SET_TX_DESC_STW_ANT_DIS(txdesc, value)
  649. #define GET_TX_DESC_STW_ANT_DIS_8822B(txdesc) GET_TX_DESC_STW_ANT_DIS(txdesc)
  650. #define SET_TX_DESC_STW_EN_8822B(txdesc, value) \
  651. SET_TX_DESC_STW_EN(txdesc, value)
  652. #define GET_TX_DESC_STW_EN_8822B(txdesc) GET_TX_DESC_STW_EN(txdesc)
  653. #define SET_TX_DESC_SMH_EN_8822B(txdesc, value) \
  654. SET_TX_DESC_SMH_EN(txdesc, value)
  655. #define GET_TX_DESC_SMH_EN_8822B(txdesc) GET_TX_DESC_SMH_EN(txdesc)
  656. #define SET_TX_DESC_TAILPAGE_L_8822B(txdesc, value) \
  657. SET_TX_DESC_TAILPAGE_L(txdesc, value)
  658. #define GET_TX_DESC_TAILPAGE_L_8822B(txdesc) GET_TX_DESC_TAILPAGE_L(txdesc)
  659. #define SET_TX_DESC_SDIO_DMASEQ_8822B(txdesc, value) \
  660. SET_TX_DESC_SDIO_DMASEQ(txdesc, value)
  661. #define GET_TX_DESC_SDIO_DMASEQ_8822B(txdesc) GET_TX_DESC_SDIO_DMASEQ(txdesc)
  662. #define SET_TX_DESC_NEXTHEADPAGE_L_8822B(txdesc, value) \
  663. SET_TX_DESC_NEXTHEADPAGE_L(txdesc, value)
  664. #define GET_TX_DESC_NEXTHEADPAGE_L_8822B(txdesc) \
  665. GET_TX_DESC_NEXTHEADPAGE_L(txdesc)
  666. #define SET_TX_DESC_EN_HWSEQ_8822B(txdesc, value) \
  667. SET_TX_DESC_EN_HWSEQ(txdesc, value)
  668. #define GET_TX_DESC_EN_HWSEQ_8822B(txdesc) GET_TX_DESC_EN_HWSEQ(txdesc)
  669. #define SET_TX_DESC_EN_HWEXSEQ_8822B(txdesc, value) \
  670. SET_TX_DESC_EN_HWEXSEQ(txdesc, value)
  671. #define GET_TX_DESC_EN_HWEXSEQ_8822B(txdesc) GET_TX_DESC_EN_HWEXSEQ(txdesc)
  672. #define SET_TX_DESC_DATA_RC_8822B(txdesc, value) \
  673. SET_TX_DESC_DATA_RC(txdesc, value)
  674. #define GET_TX_DESC_DATA_RC_8822B(txdesc) GET_TX_DESC_DATA_RC(txdesc)
  675. #define SET_TX_DESC_BAR_RTY_TH_8822B(txdesc, value) \
  676. SET_TX_DESC_BAR_RTY_TH(txdesc, value)
  677. #define GET_TX_DESC_BAR_RTY_TH_8822B(txdesc) GET_TX_DESC_BAR_RTY_TH(txdesc)
  678. #define SET_TX_DESC_RTS_RC_8822B(txdesc, value) \
  679. SET_TX_DESC_RTS_RC(txdesc, value)
  680. #define GET_TX_DESC_RTS_RC_8822B(txdesc) GET_TX_DESC_RTS_RC(txdesc)
  681. /*TXDESC_WORD9*/
  682. #define SET_TX_DESC_TAILPAGE_H_8822B(txdesc, value) \
  683. SET_TX_DESC_TAILPAGE_H(txdesc, value)
  684. #define GET_TX_DESC_TAILPAGE_H_8822B(txdesc) GET_TX_DESC_TAILPAGE_H(txdesc)
  685. #define SET_TX_DESC_NEXTHEADPAGE_H_8822B(txdesc, value) \
  686. SET_TX_DESC_NEXTHEADPAGE_H(txdesc, value)
  687. #define GET_TX_DESC_NEXTHEADPAGE_H_8822B(txdesc) \
  688. GET_TX_DESC_NEXTHEADPAGE_H(txdesc)
  689. #define SET_TX_DESC_SW_SEQ_8822B(txdesc, value) \
  690. SET_TX_DESC_SW_SEQ(txdesc, value)
  691. #define GET_TX_DESC_SW_SEQ_8822B(txdesc) GET_TX_DESC_SW_SEQ(txdesc)
  692. #define SET_TX_DESC_TXBF_PATH_8822B(txdesc, value) \
  693. SET_TX_DESC_TXBF_PATH(txdesc, value)
  694. #define GET_TX_DESC_TXBF_PATH_8822B(txdesc) GET_TX_DESC_TXBF_PATH(txdesc)
  695. #define SET_TX_DESC_PADDING_LEN_8822B(txdesc, value) \
  696. SET_TX_DESC_PADDING_LEN(txdesc, value)
  697. #define GET_TX_DESC_PADDING_LEN_8822B(txdesc) GET_TX_DESC_PADDING_LEN(txdesc)
  698. #define SET_TX_DESC_GROUP_BIT_IE_OFFSET_8822B(txdesc, value) \
  699. SET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc, value)
  700. #define GET_TX_DESC_GROUP_BIT_IE_OFFSET_8822B(txdesc) \
  701. GET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc)
  702. /*WORD10*/
  703. #define SET_TX_DESC_MU_DATARATE_8822B(txdesc, value) \
  704. SET_TX_DESC_MU_DATARATE(txdesc, value)
  705. #define GET_TX_DESC_MU_DATARATE_8822B(txdesc) GET_TX_DESC_MU_DATARATE(txdesc)
  706. #define SET_TX_DESC_MU_RC_8822B(txdesc, value) SET_TX_DESC_MU_RC(txdesc, value)
  707. #define GET_TX_DESC_MU_RC_8822B(txdesc) GET_TX_DESC_MU_RC(txdesc)
  708. #define SET_TX_DESC_SND_PKT_SEL_8822B(txdesc, value) \
  709. SET_TX_DESC_SND_PKT_SEL(txdesc, value)
  710. #define GET_TX_DESC_SND_PKT_SEL_8822B(txdesc) GET_TX_DESC_SND_PKT_SEL(txdesc)
  711. #endif
  712. #if (HALMAC_8197F_SUPPORT)
  713. /*TXDESC_WORD0*/
  714. #define SET_TX_DESC_DISQSELSEQ_8197F(txdesc, value) \
  715. SET_TX_DESC_DISQSELSEQ(txdesc, value)
  716. #define GET_TX_DESC_DISQSELSEQ_8197F(txdesc) GET_TX_DESC_DISQSELSEQ(txdesc)
  717. #define SET_TX_DESC_GF_8197F(txdesc, value) SET_TX_DESC_GF(txdesc, value)
  718. #define GET_TX_DESC_GF_8197F(txdesc) GET_TX_DESC_GF(txdesc)
  719. #define SET_TX_DESC_NO_ACM_8197F(txdesc, value) \
  720. SET_TX_DESC_NO_ACM(txdesc, value)
  721. #define GET_TX_DESC_NO_ACM_8197F(txdesc) GET_TX_DESC_NO_ACM(txdesc)
  722. #define SET_TX_DESC_BCNPKT_TSF_CTRL_8197F(txdesc, value) \
  723. SET_TX_DESC_BCNPKT_TSF_CTRL(txdesc, value)
  724. #define GET_TX_DESC_BCNPKT_TSF_CTRL_8197F(txdesc) \
  725. GET_TX_DESC_BCNPKT_TSF_CTRL(txdesc)
  726. #define SET_TX_DESC_AMSDU_PAD_EN_8197F(txdesc, value) \
  727. SET_TX_DESC_AMSDU_PAD_EN(txdesc, value)
  728. #define GET_TX_DESC_AMSDU_PAD_EN_8197F(txdesc) GET_TX_DESC_AMSDU_PAD_EN(txdesc)
  729. #define SET_TX_DESC_LS_8197F(txdesc, value) SET_TX_DESC_LS(txdesc, value)
  730. #define GET_TX_DESC_LS_8197F(txdesc) GET_TX_DESC_LS(txdesc)
  731. #define SET_TX_DESC_HTC_8197F(txdesc, value) SET_TX_DESC_HTC(txdesc, value)
  732. #define GET_TX_DESC_HTC_8197F(txdesc) GET_TX_DESC_HTC(txdesc)
  733. #define SET_TX_DESC_BMC_8197F(txdesc, value) SET_TX_DESC_BMC(txdesc, value)
  734. #define GET_TX_DESC_BMC_8197F(txdesc) GET_TX_DESC_BMC(txdesc)
  735. #define SET_TX_DESC_OFFSET_8197F(txdesc, value) \
  736. SET_TX_DESC_OFFSET(txdesc, value)
  737. #define GET_TX_DESC_OFFSET_8197F(txdesc) GET_TX_DESC_OFFSET(txdesc)
  738. #define SET_TX_DESC_TXPKTSIZE_8197F(txdesc, value) \
  739. SET_TX_DESC_TXPKTSIZE(txdesc, value)
  740. #define GET_TX_DESC_TXPKTSIZE_8197F(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
  741. /*WORD1*/
  742. #define SET_TX_DESC_MOREDATA_8197F(txdesc, value) \
  743. SET_TX_DESC_MOREDATA(txdesc, value)
  744. #define GET_TX_DESC_MOREDATA_8197F(txdesc) GET_TX_DESC_MOREDATA(txdesc)
  745. #define SET_TX_DESC_PKT_OFFSET_8197F(txdesc, value) \
  746. SET_TX_DESC_PKT_OFFSET(txdesc, value)
  747. #define GET_TX_DESC_PKT_OFFSET_8197F(txdesc) GET_TX_DESC_PKT_OFFSET(txdesc)
  748. #define SET_TX_DESC_SEC_TYPE_8197F(txdesc, value) \
  749. SET_TX_DESC_SEC_TYPE(txdesc, value)
  750. #define GET_TX_DESC_SEC_TYPE_8197F(txdesc) GET_TX_DESC_SEC_TYPE(txdesc)
  751. #define SET_TX_DESC_EN_DESC_ID_8197F(txdesc, value) \
  752. SET_TX_DESC_EN_DESC_ID(txdesc, value)
  753. #define GET_TX_DESC_EN_DESC_ID_8197F(txdesc) GET_TX_DESC_EN_DESC_ID(txdesc)
  754. #define SET_TX_DESC_RATE_ID_8197F(txdesc, value) \
  755. SET_TX_DESC_RATE_ID(txdesc, value)
  756. #define GET_TX_DESC_RATE_ID_8197F(txdesc) GET_TX_DESC_RATE_ID(txdesc)
  757. #define SET_TX_DESC_PIFS_8197F(txdesc, value) SET_TX_DESC_PIFS(txdesc, value)
  758. #define GET_TX_DESC_PIFS_8197F(txdesc) GET_TX_DESC_PIFS(txdesc)
  759. #define SET_TX_DESC_LSIG_TXOP_EN_8197F(txdesc, value) \
  760. SET_TX_DESC_LSIG_TXOP_EN(txdesc, value)
  761. #define GET_TX_DESC_LSIG_TXOP_EN_8197F(txdesc) GET_TX_DESC_LSIG_TXOP_EN(txdesc)
  762. #define SET_TX_DESC_RD_NAV_EXT_8197F(txdesc, value) \
  763. SET_TX_DESC_RD_NAV_EXT(txdesc, value)
  764. #define GET_TX_DESC_RD_NAV_EXT_8197F(txdesc) GET_TX_DESC_RD_NAV_EXT(txdesc)
  765. #define SET_TX_DESC_QSEL_8197F(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
  766. #define GET_TX_DESC_QSEL_8197F(txdesc) GET_TX_DESC_QSEL(txdesc)
  767. #define SET_TX_DESC_MACID_8197F(txdesc, value) SET_TX_DESC_MACID(txdesc, value)
  768. #define GET_TX_DESC_MACID_8197F(txdesc) GET_TX_DESC_MACID(txdesc)
  769. /*TXDESC_WORD2*/
  770. #define SET_TX_DESC_HW_AES_IV_8197F(txdesc, value) \
  771. SET_TX_DESC_HW_AES_IV(txdesc, value)
  772. #define GET_TX_DESC_HW_AES_IV_8197F(txdesc) GET_TX_DESC_HW_AES_IV(txdesc)
  773. #define SET_TX_DESC_FTM_EN_8197F(txdesc, value) \
  774. SET_TX_DESC_FTM_EN(txdesc, value)
  775. #define GET_TX_DESC_FTM_EN_8197F(txdesc) GET_TX_DESC_FTM_EN(txdesc)
  776. #define SET_TX_DESC_G_ID_8197F(txdesc, value) SET_TX_DESC_G_ID(txdesc, value)
  777. #define GET_TX_DESC_G_ID_8197F(txdesc) GET_TX_DESC_G_ID(txdesc)
  778. #define SET_TX_DESC_BT_NULL_8197F(txdesc, value) \
  779. SET_TX_DESC_BT_NULL(txdesc, value)
  780. #define GET_TX_DESC_BT_NULL_8197F(txdesc) GET_TX_DESC_BT_NULL(txdesc)
  781. #define SET_TX_DESC_AMPDU_DENSITY_8197F(txdesc, value) \
  782. SET_TX_DESC_AMPDU_DENSITY(txdesc, value)
  783. #define GET_TX_DESC_AMPDU_DENSITY_8197F(txdesc) \
  784. GET_TX_DESC_AMPDU_DENSITY(txdesc)
  785. #define SET_TX_DESC_SPE_RPT_8197F(txdesc, value) \
  786. SET_TX_DESC_SPE_RPT(txdesc, value)
  787. #define GET_TX_DESC_SPE_RPT_8197F(txdesc) GET_TX_DESC_SPE_RPT(txdesc)
  788. #define SET_TX_DESC_RAW_8197F(txdesc, value) SET_TX_DESC_RAW(txdesc, value)
  789. #define GET_TX_DESC_RAW_8197F(txdesc) GET_TX_DESC_RAW(txdesc)
  790. #define SET_TX_DESC_MOREFRAG_8197F(txdesc, value) \
  791. SET_TX_DESC_MOREFRAG(txdesc, value)
  792. #define GET_TX_DESC_MOREFRAG_8197F(txdesc) GET_TX_DESC_MOREFRAG(txdesc)
  793. #define SET_TX_DESC_BK_8197F(txdesc, value) SET_TX_DESC_BK(txdesc, value)
  794. #define GET_TX_DESC_BK_8197F(txdesc) GET_TX_DESC_BK(txdesc)
  795. #define SET_TX_DESC_NULL_1_8197F(txdesc, value) \
  796. SET_TX_DESC_NULL_1(txdesc, value)
  797. #define GET_TX_DESC_NULL_1_8197F(txdesc) GET_TX_DESC_NULL_1(txdesc)
  798. #define SET_TX_DESC_NULL_0_8197F(txdesc, value) \
  799. SET_TX_DESC_NULL_0(txdesc, value)
  800. #define GET_TX_DESC_NULL_0_8197F(txdesc) GET_TX_DESC_NULL_0(txdesc)
  801. #define SET_TX_DESC_RDG_EN_8197F(txdesc, value) \
  802. SET_TX_DESC_RDG_EN(txdesc, value)
  803. #define GET_TX_DESC_RDG_EN_8197F(txdesc) GET_TX_DESC_RDG_EN(txdesc)
  804. #define SET_TX_DESC_AGG_EN_8197F(txdesc, value) \
  805. SET_TX_DESC_AGG_EN(txdesc, value)
  806. #define GET_TX_DESC_AGG_EN_8197F(txdesc) GET_TX_DESC_AGG_EN(txdesc)
  807. #define SET_TX_DESC_CCA_RTS_8197F(txdesc, value) \
  808. SET_TX_DESC_CCA_RTS(txdesc, value)
  809. #define GET_TX_DESC_CCA_RTS_8197F(txdesc) GET_TX_DESC_CCA_RTS(txdesc)
  810. #define SET_TX_DESC_TRI_FRAME_8197F(txdesc, value) \
  811. SET_TX_DESC_TRI_FRAME(txdesc, value)
  812. #define GET_TX_DESC_TRI_FRAME_8197F(txdesc) GET_TX_DESC_TRI_FRAME(txdesc)
  813. #define SET_TX_DESC_P_AID_8197F(txdesc, value) SET_TX_DESC_P_AID(txdesc, value)
  814. #define GET_TX_DESC_P_AID_8197F(txdesc) GET_TX_DESC_P_AID(txdesc)
  815. /*TXDESC_WORD3*/
  816. #define SET_TX_DESC_AMPDU_MAX_TIME_8197F(txdesc, value) \
  817. SET_TX_DESC_AMPDU_MAX_TIME(txdesc, value)
  818. #define GET_TX_DESC_AMPDU_MAX_TIME_8197F(txdesc) \
  819. GET_TX_DESC_AMPDU_MAX_TIME(txdesc)
  820. #define SET_TX_DESC_NDPA_8197F(txdesc, value) SET_TX_DESC_NDPA(txdesc, value)
  821. #define GET_TX_DESC_NDPA_8197F(txdesc) GET_TX_DESC_NDPA(txdesc)
  822. #define SET_TX_DESC_MAX_AGG_NUM_8197F(txdesc, value) \
  823. SET_TX_DESC_MAX_AGG_NUM(txdesc, value)
  824. #define GET_TX_DESC_MAX_AGG_NUM_8197F(txdesc) GET_TX_DESC_MAX_AGG_NUM(txdesc)
  825. #define SET_TX_DESC_USE_MAX_TIME_EN_8197F(txdesc, value) \
  826. SET_TX_DESC_USE_MAX_TIME_EN(txdesc, value)
  827. #define GET_TX_DESC_USE_MAX_TIME_EN_8197F(txdesc) \
  828. GET_TX_DESC_USE_MAX_TIME_EN(txdesc)
  829. #define SET_TX_DESC_NAVUSEHDR_8197F(txdesc, value) \
  830. SET_TX_DESC_NAVUSEHDR(txdesc, value)
  831. #define GET_TX_DESC_NAVUSEHDR_8197F(txdesc) GET_TX_DESC_NAVUSEHDR(txdesc)
  832. #define SET_TX_DESC_CHK_EN_8197F(txdesc, value) \
  833. SET_TX_DESC_CHK_EN(txdesc, value)
  834. #define GET_TX_DESC_CHK_EN_8197F(txdesc) GET_TX_DESC_CHK_EN(txdesc)
  835. #define SET_TX_DESC_HW_RTS_EN_8197F(txdesc, value) \
  836. SET_TX_DESC_HW_RTS_EN(txdesc, value)
  837. #define GET_TX_DESC_HW_RTS_EN_8197F(txdesc) GET_TX_DESC_HW_RTS_EN(txdesc)
  838. #define SET_TX_DESC_RTSEN_8197F(txdesc, value) SET_TX_DESC_RTSEN(txdesc, value)
  839. #define GET_TX_DESC_RTSEN_8197F(txdesc) GET_TX_DESC_RTSEN(txdesc)
  840. #define SET_TX_DESC_CTS2SELF_8197F(txdesc, value) \
  841. SET_TX_DESC_CTS2SELF(txdesc, value)
  842. #define GET_TX_DESC_CTS2SELF_8197F(txdesc) GET_TX_DESC_CTS2SELF(txdesc)
  843. #define SET_TX_DESC_DISDATAFB_8197F(txdesc, value) \
  844. SET_TX_DESC_DISDATAFB(txdesc, value)
  845. #define GET_TX_DESC_DISDATAFB_8197F(txdesc) GET_TX_DESC_DISDATAFB(txdesc)
  846. #define SET_TX_DESC_DISRTSFB_8197F(txdesc, value) \
  847. SET_TX_DESC_DISRTSFB(txdesc, value)
  848. #define GET_TX_DESC_DISRTSFB_8197F(txdesc) GET_TX_DESC_DISRTSFB(txdesc)
  849. #define SET_TX_DESC_USE_RATE_8197F(txdesc, value) \
  850. SET_TX_DESC_USE_RATE(txdesc, value)
  851. #define GET_TX_DESC_USE_RATE_8197F(txdesc) GET_TX_DESC_USE_RATE(txdesc)
  852. #define SET_TX_DESC_HW_SSN_SEL_8197F(txdesc, value) \
  853. SET_TX_DESC_HW_SSN_SEL(txdesc, value)
  854. #define GET_TX_DESC_HW_SSN_SEL_8197F(txdesc) GET_TX_DESC_HW_SSN_SEL(txdesc)
  855. #define SET_TX_DESC_WHEADER_LEN_8197F(txdesc, value) \
  856. SET_TX_DESC_WHEADER_LEN(txdesc, value)
  857. #define GET_TX_DESC_WHEADER_LEN_8197F(txdesc) GET_TX_DESC_WHEADER_LEN(txdesc)
  858. /*TXDESC_WORD4*/
  859. #define SET_TX_DESC_PCTS_MASK_IDX_8197F(txdesc, value) \
  860. SET_TX_DESC_PCTS_MASK_IDX(txdesc, value)
  861. #define GET_TX_DESC_PCTS_MASK_IDX_8197F(txdesc) \
  862. GET_TX_DESC_PCTS_MASK_IDX(txdesc)
  863. #define SET_TX_DESC_PCTS_EN_8197F(txdesc, value) \
  864. SET_TX_DESC_PCTS_EN(txdesc, value)
  865. #define GET_TX_DESC_PCTS_EN_8197F(txdesc) GET_TX_DESC_PCTS_EN(txdesc)
  866. #define SET_TX_DESC_RTSRATE_8197F(txdesc, value) \
  867. SET_TX_DESC_RTSRATE(txdesc, value)
  868. #define GET_TX_DESC_RTSRATE_8197F(txdesc) GET_TX_DESC_RTSRATE(txdesc)
  869. #define SET_TX_DESC_RTS_DATA_RTY_LMT_8197F(txdesc, value) \
  870. SET_TX_DESC_RTS_DATA_RTY_LMT(txdesc, value)
  871. #define GET_TX_DESC_RTS_DATA_RTY_LMT_8197F(txdesc) \
  872. GET_TX_DESC_RTS_DATA_RTY_LMT(txdesc)
  873. #define SET_TX_DESC_RTY_LMT_EN_8197F(txdesc, value) \
  874. SET_TX_DESC_RTY_LMT_EN(txdesc, value)
  875. #define GET_TX_DESC_RTY_LMT_EN_8197F(txdesc) GET_TX_DESC_RTY_LMT_EN(txdesc)
  876. #define SET_TX_DESC_RTS_RTY_LOWEST_RATE_8197F(txdesc, value) \
  877. SET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc, value)
  878. #define GET_TX_DESC_RTS_RTY_LOWEST_RATE_8197F(txdesc) \
  879. GET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc)
  880. #define SET_TX_DESC_DATA_RTY_LOWEST_RATE_8197F(txdesc, value) \
  881. SET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc, value)
  882. #define GET_TX_DESC_DATA_RTY_LOWEST_RATE_8197F(txdesc) \
  883. GET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc)
  884. #define SET_TX_DESC_TRY_RATE_8197F(txdesc, value) \
  885. SET_TX_DESC_TRY_RATE(txdesc, value)
  886. #define GET_TX_DESC_TRY_RATE_8197F(txdesc) GET_TX_DESC_TRY_RATE(txdesc)
  887. #define SET_TX_DESC_DATARATE_8197F(txdesc, value) \
  888. SET_TX_DESC_DATARATE(txdesc, value)
  889. #define GET_TX_DESC_DATARATE_8197F(txdesc) GET_TX_DESC_DATARATE(txdesc)
  890. /*TXDESC_WORD5*/
  891. #define SET_TX_DESC_POLLUTED_8197F(txdesc, value) \
  892. SET_TX_DESC_POLLUTED(txdesc, value)
  893. #define GET_TX_DESC_POLLUTED_8197F(txdesc) GET_TX_DESC_POLLUTED(txdesc)
  894. #define SET_TX_DESC_TXPWR_OFSET_8197F(txdesc, value) \
  895. SET_TX_DESC_TXPWR_OFSET(txdesc, value)
  896. #define GET_TX_DESC_TXPWR_OFSET_8197F(txdesc) GET_TX_DESC_TXPWR_OFSET(txdesc)
  897. #define SET_TX_DESC_TX_ANT_8197F(txdesc, value) \
  898. SET_TX_DESC_TX_ANT(txdesc, value)
  899. #define GET_TX_DESC_TX_ANT_8197F(txdesc) GET_TX_DESC_TX_ANT(txdesc)
  900. #define SET_TX_DESC_PORT_ID_8197F(txdesc, value) \
  901. SET_TX_DESC_PORT_ID(txdesc, value)
  902. #define GET_TX_DESC_PORT_ID_8197F(txdesc) GET_TX_DESC_PORT_ID(txdesc)
  903. #define SET_TX_DESC_MULTIPLE_PORT_8197F(txdesc, value) \
  904. SET_TX_DESC_MULTIPLE_PORT(txdesc, value)
  905. #define GET_TX_DESC_MULTIPLE_PORT_8197F(txdesc) \
  906. GET_TX_DESC_MULTIPLE_PORT(txdesc)
  907. #define SET_TX_DESC_SIGNALING_TAPKT_EN_8197F(txdesc, value) \
  908. SET_TX_DESC_SIGNALING_TAPKT_EN(txdesc, value)
  909. #define GET_TX_DESC_SIGNALING_TAPKT_EN_8197F(txdesc) \
  910. GET_TX_DESC_SIGNALING_TAPKT_EN(txdesc)
  911. #define SET_TX_DESC_RTS_SC_8197F(txdesc, value) \
  912. SET_TX_DESC_RTS_SC(txdesc, value)
  913. #define GET_TX_DESC_RTS_SC_8197F(txdesc) GET_TX_DESC_RTS_SC(txdesc)
  914. #define SET_TX_DESC_RTS_SHORT_8197F(txdesc, value) \
  915. SET_TX_DESC_RTS_SHORT(txdesc, value)
  916. #define GET_TX_DESC_RTS_SHORT_8197F(txdesc) GET_TX_DESC_RTS_SHORT(txdesc)
  917. #define SET_TX_DESC_VCS_STBC_8197F(txdesc, value) \
  918. SET_TX_DESC_VCS_STBC(txdesc, value)
  919. #define GET_TX_DESC_VCS_STBC_8197F(txdesc) GET_TX_DESC_VCS_STBC(txdesc)
  920. #define SET_TX_DESC_DATA_STBC_8197F(txdesc, value) \
  921. SET_TX_DESC_DATA_STBC(txdesc, value)
  922. #define GET_TX_DESC_DATA_STBC_8197F(txdesc) GET_TX_DESC_DATA_STBC(txdesc)
  923. #define SET_TX_DESC_DATA_LDPC_8197F(txdesc, value) \
  924. SET_TX_DESC_DATA_LDPC(txdesc, value)
  925. #define GET_TX_DESC_DATA_LDPC_8197F(txdesc) GET_TX_DESC_DATA_LDPC(txdesc)
  926. #define SET_TX_DESC_DATA_BW_8197F(txdesc, value) \
  927. SET_TX_DESC_DATA_BW(txdesc, value)
  928. #define GET_TX_DESC_DATA_BW_8197F(txdesc) GET_TX_DESC_DATA_BW(txdesc)
  929. #define SET_TX_DESC_DATA_SHORT_8197F(txdesc, value) \
  930. SET_TX_DESC_DATA_SHORT(txdesc, value)
  931. #define GET_TX_DESC_DATA_SHORT_8197F(txdesc) GET_TX_DESC_DATA_SHORT(txdesc)
  932. #define SET_TX_DESC_DATA_SC_8197F(txdesc, value) \
  933. SET_TX_DESC_DATA_SC(txdesc, value)
  934. #define GET_TX_DESC_DATA_SC_8197F(txdesc) GET_TX_DESC_DATA_SC(txdesc)
  935. /*TXDESC_WORD6*/
  936. #define SET_TX_DESC_ANTSEL_D_8197F(txdesc, value) \
  937. SET_TX_DESC_ANTSEL_D(txdesc, value)
  938. #define GET_TX_DESC_ANTSEL_D_8197F(txdesc) GET_TX_DESC_ANTSEL_D(txdesc)
  939. #define SET_TX_DESC_ANT_MAPD_8197F(txdesc, value) \
  940. SET_TX_DESC_ANT_MAPD(txdesc, value)
  941. #define GET_TX_DESC_ANT_MAPD_8197F(txdesc) GET_TX_DESC_ANT_MAPD(txdesc)
  942. #define SET_TX_DESC_ANT_MAPC_8197F(txdesc, value) \
  943. SET_TX_DESC_ANT_MAPC(txdesc, value)
  944. #define GET_TX_DESC_ANT_MAPC_8197F(txdesc) GET_TX_DESC_ANT_MAPC(txdesc)
  945. #define SET_TX_DESC_ANT_MAPB_8197F(txdesc, value) \
  946. SET_TX_DESC_ANT_MAPB(txdesc, value)
  947. #define GET_TX_DESC_ANT_MAPB_8197F(txdesc) GET_TX_DESC_ANT_MAPB(txdesc)
  948. #define SET_TX_DESC_ANT_MAPA_8197F(txdesc, value) \
  949. SET_TX_DESC_ANT_MAPA(txdesc, value)
  950. #define GET_TX_DESC_ANT_MAPA_8197F(txdesc) GET_TX_DESC_ANT_MAPA(txdesc)
  951. #define SET_TX_DESC_ANTSEL_C_8197F(txdesc, value) \
  952. SET_TX_DESC_ANTSEL_C(txdesc, value)
  953. #define GET_TX_DESC_ANTSEL_C_8197F(txdesc) GET_TX_DESC_ANTSEL_C(txdesc)
  954. #define SET_TX_DESC_ANTSEL_B_8197F(txdesc, value) \
  955. SET_TX_DESC_ANTSEL_B(txdesc, value)
  956. #define GET_TX_DESC_ANTSEL_B_8197F(txdesc) GET_TX_DESC_ANTSEL_B(txdesc)
  957. #define SET_TX_DESC_ANTSEL_A_8197F(txdesc, value) \
  958. SET_TX_DESC_ANTSEL_A(txdesc, value)
  959. #define GET_TX_DESC_ANTSEL_A_8197F(txdesc) GET_TX_DESC_ANTSEL_A(txdesc)
  960. #define SET_TX_DESC_MBSSID_8197F(txdesc, value) \
  961. SET_TX_DESC_MBSSID(txdesc, value)
  962. #define GET_TX_DESC_MBSSID_8197F(txdesc) GET_TX_DESC_MBSSID(txdesc)
  963. #define SET_TX_DESC_SW_DEFINE_8197F(txdesc, value) \
  964. SET_TX_DESC_SW_DEFINE(txdesc, value)
  965. #define GET_TX_DESC_SW_DEFINE_8197F(txdesc) GET_TX_DESC_SW_DEFINE(txdesc)
  966. /*TXDESC_WORD7*/
  967. #define SET_TX_DESC_DMA_TXAGG_NUM_8197F(txdesc, value) \
  968. SET_TX_DESC_DMA_TXAGG_NUM(txdesc, value)
  969. #define GET_TX_DESC_DMA_TXAGG_NUM_8197F(txdesc) \
  970. GET_TX_DESC_DMA_TXAGG_NUM(txdesc)
  971. #define SET_TX_DESC_FINAL_DATA_RATE_8197F(txdesc, value) \
  972. SET_TX_DESC_FINAL_DATA_RATE(txdesc, value)
  973. #define GET_TX_DESC_FINAL_DATA_RATE_8197F(txdesc) \
  974. GET_TX_DESC_FINAL_DATA_RATE(txdesc)
  975. #define SET_TX_DESC_NTX_MAP_8197F(txdesc, value) \
  976. SET_TX_DESC_NTX_MAP(txdesc, value)
  977. #define GET_TX_DESC_NTX_MAP_8197F(txdesc) GET_TX_DESC_NTX_MAP(txdesc)
  978. #define SET_TX_DESC_TX_BUFF_SIZE_8197F(txdesc, value) \
  979. SET_TX_DESC_TX_BUFF_SIZE(txdesc, value)
  980. #define GET_TX_DESC_TX_BUFF_SIZE_8197F(txdesc) GET_TX_DESC_TX_BUFF_SIZE(txdesc)
  981. #define SET_TX_DESC_TXDESC_CHECKSUM_8197F(txdesc, value) \
  982. SET_TX_DESC_TXDESC_CHECKSUM(txdesc, value)
  983. #define GET_TX_DESC_TXDESC_CHECKSUM_8197F(txdesc) \
  984. GET_TX_DESC_TXDESC_CHECKSUM(txdesc)
  985. #define SET_TX_DESC_TIMESTAMP_8197F(txdesc, value) \
  986. SET_TX_DESC_TIMESTAMP(txdesc, value)
  987. #define GET_TX_DESC_TIMESTAMP_8197F(txdesc) GET_TX_DESC_TIMESTAMP(txdesc)
  988. /*TXDESC_WORD8*/
  989. #define SET_TX_DESC_TXWIFI_CP_8197F(txdesc, value) \
  990. SET_TX_DESC_TXWIFI_CP(txdesc, value)
  991. #define GET_TX_DESC_TXWIFI_CP_8197F(txdesc) GET_TX_DESC_TXWIFI_CP(txdesc)
  992. #define SET_TX_DESC_MAC_CP_8197F(txdesc, value) \
  993. SET_TX_DESC_MAC_CP(txdesc, value)
  994. #define GET_TX_DESC_MAC_CP_8197F(txdesc) GET_TX_DESC_MAC_CP(txdesc)
  995. #define SET_TX_DESC_STW_PKTRE_DIS_8197F(txdesc, value) \
  996. SET_TX_DESC_STW_PKTRE_DIS(txdesc, value)
  997. #define GET_TX_DESC_STW_PKTRE_DIS_8197F(txdesc) \
  998. GET_TX_DESC_STW_PKTRE_DIS(txdesc)
  999. #define SET_TX_DESC_STW_RB_DIS_8197F(txdesc, value) \
  1000. SET_TX_DESC_STW_RB_DIS(txdesc, value)
  1001. #define GET_TX_DESC_STW_RB_DIS_8197F(txdesc) GET_TX_DESC_STW_RB_DIS(txdesc)
  1002. #define SET_TX_DESC_STW_RATE_DIS_8197F(txdesc, value) \
  1003. SET_TX_DESC_STW_RATE_DIS(txdesc, value)
  1004. #define GET_TX_DESC_STW_RATE_DIS_8197F(txdesc) GET_TX_DESC_STW_RATE_DIS(txdesc)
  1005. #define SET_TX_DESC_STW_ANT_DIS_8197F(txdesc, value) \
  1006. SET_TX_DESC_STW_ANT_DIS(txdesc, value)
  1007. #define GET_TX_DESC_STW_ANT_DIS_8197F(txdesc) GET_TX_DESC_STW_ANT_DIS(txdesc)
  1008. #define SET_TX_DESC_STW_EN_8197F(txdesc, value) \
  1009. SET_TX_DESC_STW_EN(txdesc, value)
  1010. #define GET_TX_DESC_STW_EN_8197F(txdesc) GET_TX_DESC_STW_EN(txdesc)
  1011. #define SET_TX_DESC_SMH_EN_8197F(txdesc, value) \
  1012. SET_TX_DESC_SMH_EN(txdesc, value)
  1013. #define GET_TX_DESC_SMH_EN_8197F(txdesc) GET_TX_DESC_SMH_EN(txdesc)
  1014. #define SET_TX_DESC_TAILPAGE_L_8197F(txdesc, value) \
  1015. SET_TX_DESC_TAILPAGE_L(txdesc, value)
  1016. #define GET_TX_DESC_TAILPAGE_L_8197F(txdesc) GET_TX_DESC_TAILPAGE_L(txdesc)
  1017. #define SET_TX_DESC_SDIO_DMASEQ_8197F(txdesc, value) \
  1018. SET_TX_DESC_SDIO_DMASEQ(txdesc, value)
  1019. #define GET_TX_DESC_SDIO_DMASEQ_8197F(txdesc) GET_TX_DESC_SDIO_DMASEQ(txdesc)
  1020. #define SET_TX_DESC_NEXTHEADPAGE_L_8197F(txdesc, value) \
  1021. SET_TX_DESC_NEXTHEADPAGE_L(txdesc, value)
  1022. #define GET_TX_DESC_NEXTHEADPAGE_L_8197F(txdesc) \
  1023. GET_TX_DESC_NEXTHEADPAGE_L(txdesc)
  1024. #define SET_TX_DESC_EN_HWSEQ_8197F(txdesc, value) \
  1025. SET_TX_DESC_EN_HWSEQ(txdesc, value)
  1026. #define GET_TX_DESC_EN_HWSEQ_8197F(txdesc) GET_TX_DESC_EN_HWSEQ(txdesc)
  1027. #define SET_TX_DESC_EN_HWEXSEQ_8197F(txdesc, value) \
  1028. SET_TX_DESC_EN_HWEXSEQ(txdesc, value)
  1029. #define GET_TX_DESC_EN_HWEXSEQ_8197F(txdesc) GET_TX_DESC_EN_HWEXSEQ(txdesc)
  1030. #define SET_TX_DESC_DATA_RC_8197F(txdesc, value) \
  1031. SET_TX_DESC_DATA_RC(txdesc, value)
  1032. #define GET_TX_DESC_DATA_RC_8197F(txdesc) GET_TX_DESC_DATA_RC(txdesc)
  1033. #define SET_TX_DESC_BAR_RTY_TH_8197F(txdesc, value) \
  1034. SET_TX_DESC_BAR_RTY_TH(txdesc, value)
  1035. #define GET_TX_DESC_BAR_RTY_TH_8197F(txdesc) GET_TX_DESC_BAR_RTY_TH(txdesc)
  1036. #define SET_TX_DESC_RTS_RC_8197F(txdesc, value) \
  1037. SET_TX_DESC_RTS_RC(txdesc, value)
  1038. #define GET_TX_DESC_RTS_RC_8197F(txdesc) GET_TX_DESC_RTS_RC(txdesc)
  1039. /*TXDESC_WORD9*/
  1040. #define SET_TX_DESC_TAILPAGE_H_8197F(txdesc, value) \
  1041. SET_TX_DESC_TAILPAGE_H(txdesc, value)
  1042. #define GET_TX_DESC_TAILPAGE_H_8197F(txdesc) GET_TX_DESC_TAILPAGE_H(txdesc)
  1043. #define SET_TX_DESC_NEXTHEADPAGE_H_8197F(txdesc, value) \
  1044. SET_TX_DESC_NEXTHEADPAGE_H(txdesc, value)
  1045. #define GET_TX_DESC_NEXTHEADPAGE_H_8197F(txdesc) \
  1046. GET_TX_DESC_NEXTHEADPAGE_H(txdesc)
  1047. #define SET_TX_DESC_SW_SEQ_8197F(txdesc, value) \
  1048. SET_TX_DESC_SW_SEQ(txdesc, value)
  1049. #define GET_TX_DESC_SW_SEQ_8197F(txdesc) GET_TX_DESC_SW_SEQ(txdesc)
  1050. #define SET_TX_DESC_TXBF_PATH_8197F(txdesc, value) \
  1051. SET_TX_DESC_TXBF_PATH(txdesc, value)
  1052. #define GET_TX_DESC_TXBF_PATH_8197F(txdesc) GET_TX_DESC_TXBF_PATH(txdesc)
  1053. #define SET_TX_DESC_PADDING_LEN_8197F(txdesc, value) \
  1054. SET_TX_DESC_PADDING_LEN(txdesc, value)
  1055. #define GET_TX_DESC_PADDING_LEN_8197F(txdesc) GET_TX_DESC_PADDING_LEN(txdesc)
  1056. #define SET_TX_DESC_GROUP_BIT_IE_OFFSET_8197F(txdesc, value) \
  1057. SET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc, value)
  1058. #define GET_TX_DESC_GROUP_BIT_IE_OFFSET_8197F(txdesc) \
  1059. GET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc)
  1060. /*WORD10*/
  1061. #endif
  1062. #if (HALMAC_8821C_SUPPORT)
  1063. /*TXDESC_WORD0*/
  1064. #define SET_TX_DESC_DISQSELSEQ_8821C(txdesc, value) \
  1065. SET_TX_DESC_DISQSELSEQ(txdesc, value)
  1066. #define GET_TX_DESC_DISQSELSEQ_8821C(txdesc) GET_TX_DESC_DISQSELSEQ(txdesc)
  1067. #define SET_TX_DESC_GF_8821C(txdesc, value) SET_TX_DESC_GF(txdesc, value)
  1068. #define GET_TX_DESC_GF_8821C(txdesc) GET_TX_DESC_GF(txdesc)
  1069. #define SET_TX_DESC_NO_ACM_8821C(txdesc, value) \
  1070. SET_TX_DESC_NO_ACM(txdesc, value)
  1071. #define GET_TX_DESC_NO_ACM_8821C(txdesc) GET_TX_DESC_NO_ACM(txdesc)
  1072. #define SET_TX_DESC_BCNPKT_TSF_CTRL_8821C(txdesc, value) \
  1073. SET_TX_DESC_BCNPKT_TSF_CTRL(txdesc, value)
  1074. #define GET_TX_DESC_BCNPKT_TSF_CTRL_8821C(txdesc) \
  1075. GET_TX_DESC_BCNPKT_TSF_CTRL(txdesc)
  1076. #define SET_TX_DESC_AMSDU_PAD_EN_8821C(txdesc, value) \
  1077. SET_TX_DESC_AMSDU_PAD_EN(txdesc, value)
  1078. #define GET_TX_DESC_AMSDU_PAD_EN_8821C(txdesc) GET_TX_DESC_AMSDU_PAD_EN(txdesc)
  1079. #define SET_TX_DESC_LS_8821C(txdesc, value) SET_TX_DESC_LS(txdesc, value)
  1080. #define GET_TX_DESC_LS_8821C(txdesc) GET_TX_DESC_LS(txdesc)
  1081. #define SET_TX_DESC_HTC_8821C(txdesc, value) SET_TX_DESC_HTC(txdesc, value)
  1082. #define GET_TX_DESC_HTC_8821C(txdesc) GET_TX_DESC_HTC(txdesc)
  1083. #define SET_TX_DESC_BMC_8821C(txdesc, value) SET_TX_DESC_BMC(txdesc, value)
  1084. #define GET_TX_DESC_BMC_8821C(txdesc) GET_TX_DESC_BMC(txdesc)
  1085. #define SET_TX_DESC_OFFSET_8821C(txdesc, value) \
  1086. SET_TX_DESC_OFFSET(txdesc, value)
  1087. #define GET_TX_DESC_OFFSET_8821C(txdesc) GET_TX_DESC_OFFSET(txdesc)
  1088. #define SET_TX_DESC_TXPKTSIZE_8821C(txdesc, value) \
  1089. SET_TX_DESC_TXPKTSIZE(txdesc, value)
  1090. #define GET_TX_DESC_TXPKTSIZE_8821C(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
  1091. /*WORD1*/
  1092. #define SET_TX_DESC_MOREDATA_8821C(txdesc, value) \
  1093. SET_TX_DESC_MOREDATA(txdesc, value)
  1094. #define GET_TX_DESC_MOREDATA_8821C(txdesc) GET_TX_DESC_MOREDATA(txdesc)
  1095. #define SET_TX_DESC_PKT_OFFSET_8821C(txdesc, value) \
  1096. SET_TX_DESC_PKT_OFFSET(txdesc, value)
  1097. #define GET_TX_DESC_PKT_OFFSET_8821C(txdesc) GET_TX_DESC_PKT_OFFSET(txdesc)
  1098. #define SET_TX_DESC_SEC_TYPE_8821C(txdesc, value) \
  1099. SET_TX_DESC_SEC_TYPE(txdesc, value)
  1100. #define GET_TX_DESC_SEC_TYPE_8821C(txdesc) GET_TX_DESC_SEC_TYPE(txdesc)
  1101. #define SET_TX_DESC_EN_DESC_ID_8821C(txdesc, value) \
  1102. SET_TX_DESC_EN_DESC_ID(txdesc, value)
  1103. #define GET_TX_DESC_EN_DESC_ID_8821C(txdesc) GET_TX_DESC_EN_DESC_ID(txdesc)
  1104. #define SET_TX_DESC_RATE_ID_8821C(txdesc, value) \
  1105. SET_TX_DESC_RATE_ID(txdesc, value)
  1106. #define GET_TX_DESC_RATE_ID_8821C(txdesc) GET_TX_DESC_RATE_ID(txdesc)
  1107. #define SET_TX_DESC_PIFS_8821C(txdesc, value) SET_TX_DESC_PIFS(txdesc, value)
  1108. #define GET_TX_DESC_PIFS_8821C(txdesc) GET_TX_DESC_PIFS(txdesc)
  1109. #define SET_TX_DESC_LSIG_TXOP_EN_8821C(txdesc, value) \
  1110. SET_TX_DESC_LSIG_TXOP_EN(txdesc, value)
  1111. #define GET_TX_DESC_LSIG_TXOP_EN_8821C(txdesc) GET_TX_DESC_LSIG_TXOP_EN(txdesc)
  1112. #define SET_TX_DESC_RD_NAV_EXT_8821C(txdesc, value) \
  1113. SET_TX_DESC_RD_NAV_EXT(txdesc, value)
  1114. #define GET_TX_DESC_RD_NAV_EXT_8821C(txdesc) GET_TX_DESC_RD_NAV_EXT(txdesc)
  1115. #define SET_TX_DESC_QSEL_8821C(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
  1116. #define GET_TX_DESC_QSEL_8821C(txdesc) GET_TX_DESC_QSEL(txdesc)
  1117. #define SET_TX_DESC_MACID_8821C(txdesc, value) SET_TX_DESC_MACID(txdesc, value)
  1118. #define GET_TX_DESC_MACID_8821C(txdesc) GET_TX_DESC_MACID(txdesc)
  1119. /*TXDESC_WORD2*/
  1120. #define SET_TX_DESC_HW_AES_IV_8821C(txdesc, value) \
  1121. SET_TX_DESC_HW_AES_IV(txdesc, value)
  1122. #define GET_TX_DESC_HW_AES_IV_8821C(txdesc) GET_TX_DESC_HW_AES_IV(txdesc)
  1123. #define SET_TX_DESC_FTM_EN_8821C(txdesc, value) \
  1124. SET_TX_DESC_FTM_EN(txdesc, value)
  1125. #define GET_TX_DESC_FTM_EN_8821C(txdesc) GET_TX_DESC_FTM_EN(txdesc)
  1126. #define SET_TX_DESC_G_ID_8821C(txdesc, value) SET_TX_DESC_G_ID(txdesc, value)
  1127. #define GET_TX_DESC_G_ID_8821C(txdesc) GET_TX_DESC_G_ID(txdesc)
  1128. #define SET_TX_DESC_BT_NULL_8821C(txdesc, value) \
  1129. SET_TX_DESC_BT_NULL(txdesc, value)
  1130. #define GET_TX_DESC_BT_NULL_8821C(txdesc) GET_TX_DESC_BT_NULL(txdesc)
  1131. #define SET_TX_DESC_AMPDU_DENSITY_8821C(txdesc, value) \
  1132. SET_TX_DESC_AMPDU_DENSITY(txdesc, value)
  1133. #define GET_TX_DESC_AMPDU_DENSITY_8821C(txdesc) \
  1134. GET_TX_DESC_AMPDU_DENSITY(txdesc)
  1135. #define SET_TX_DESC_SPE_RPT_8821C(txdesc, value) \
  1136. SET_TX_DESC_SPE_RPT(txdesc, value)
  1137. #define GET_TX_DESC_SPE_RPT_8821C(txdesc) GET_TX_DESC_SPE_RPT(txdesc)
  1138. #define SET_TX_DESC_RAW_8821C(txdesc, value) SET_TX_DESC_RAW(txdesc, value)
  1139. #define GET_TX_DESC_RAW_8821C(txdesc) GET_TX_DESC_RAW(txdesc)
  1140. #define SET_TX_DESC_MOREFRAG_8821C(txdesc, value) \
  1141. SET_TX_DESC_MOREFRAG(txdesc, value)
  1142. #define GET_TX_DESC_MOREFRAG_8821C(txdesc) GET_TX_DESC_MOREFRAG(txdesc)
  1143. #define SET_TX_DESC_BK_8821C(txdesc, value) SET_TX_DESC_BK(txdesc, value)
  1144. #define GET_TX_DESC_BK_8821C(txdesc) GET_TX_DESC_BK(txdesc)
  1145. #define SET_TX_DESC_NULL_1_8821C(txdesc, value) \
  1146. SET_TX_DESC_NULL_1(txdesc, value)
  1147. #define GET_TX_DESC_NULL_1_8821C(txdesc) GET_TX_DESC_NULL_1(txdesc)
  1148. #define SET_TX_DESC_NULL_0_8821C(txdesc, value) \
  1149. SET_TX_DESC_NULL_0(txdesc, value)
  1150. #define GET_TX_DESC_NULL_0_8821C(txdesc) GET_TX_DESC_NULL_0(txdesc)
  1151. #define SET_TX_DESC_RDG_EN_8821C(txdesc, value) \
  1152. SET_TX_DESC_RDG_EN(txdesc, value)
  1153. #define GET_TX_DESC_RDG_EN_8821C(txdesc) GET_TX_DESC_RDG_EN(txdesc)
  1154. #define SET_TX_DESC_AGG_EN_8821C(txdesc, value) \
  1155. SET_TX_DESC_AGG_EN(txdesc, value)
  1156. #define GET_TX_DESC_AGG_EN_8821C(txdesc) GET_TX_DESC_AGG_EN(txdesc)
  1157. #define SET_TX_DESC_CCA_RTS_8821C(txdesc, value) \
  1158. SET_TX_DESC_CCA_RTS(txdesc, value)
  1159. #define GET_TX_DESC_CCA_RTS_8821C(txdesc) GET_TX_DESC_CCA_RTS(txdesc)
  1160. #define SET_TX_DESC_TRI_FRAME_8821C(txdesc, value) \
  1161. SET_TX_DESC_TRI_FRAME(txdesc, value)
  1162. #define GET_TX_DESC_TRI_FRAME_8821C(txdesc) GET_TX_DESC_TRI_FRAME(txdesc)
  1163. #define SET_TX_DESC_P_AID_8821C(txdesc, value) SET_TX_DESC_P_AID(txdesc, value)
  1164. #define GET_TX_DESC_P_AID_8821C(txdesc) GET_TX_DESC_P_AID(txdesc)
  1165. /*TXDESC_WORD3*/
  1166. #define SET_TX_DESC_AMPDU_MAX_TIME_8821C(txdesc, value) \
  1167. SET_TX_DESC_AMPDU_MAX_TIME(txdesc, value)
  1168. #define GET_TX_DESC_AMPDU_MAX_TIME_8821C(txdesc) \
  1169. GET_TX_DESC_AMPDU_MAX_TIME(txdesc)
  1170. #define SET_TX_DESC_NDPA_8821C(txdesc, value) SET_TX_DESC_NDPA(txdesc, value)
  1171. #define GET_TX_DESC_NDPA_8821C(txdesc) GET_TX_DESC_NDPA(txdesc)
  1172. #define SET_TX_DESC_MAX_AGG_NUM_8821C(txdesc, value) \
  1173. SET_TX_DESC_MAX_AGG_NUM(txdesc, value)
  1174. #define GET_TX_DESC_MAX_AGG_NUM_8821C(txdesc) GET_TX_DESC_MAX_AGG_NUM(txdesc)
  1175. #define SET_TX_DESC_USE_MAX_TIME_EN_8821C(txdesc, value) \
  1176. SET_TX_DESC_USE_MAX_TIME_EN(txdesc, value)
  1177. #define GET_TX_DESC_USE_MAX_TIME_EN_8821C(txdesc) \
  1178. GET_TX_DESC_USE_MAX_TIME_EN(txdesc)
  1179. #define SET_TX_DESC_NAVUSEHDR_8821C(txdesc, value) \
  1180. SET_TX_DESC_NAVUSEHDR(txdesc, value)
  1181. #define GET_TX_DESC_NAVUSEHDR_8821C(txdesc) GET_TX_DESC_NAVUSEHDR(txdesc)
  1182. #define SET_TX_DESC_CHK_EN_8821C(txdesc, value) \
  1183. SET_TX_DESC_CHK_EN(txdesc, value)
  1184. #define GET_TX_DESC_CHK_EN_8821C(txdesc) GET_TX_DESC_CHK_EN(txdesc)
  1185. #define SET_TX_DESC_HW_RTS_EN_8821C(txdesc, value) \
  1186. SET_TX_DESC_HW_RTS_EN(txdesc, value)
  1187. #define GET_TX_DESC_HW_RTS_EN_8821C(txdesc) GET_TX_DESC_HW_RTS_EN(txdesc)
  1188. #define SET_TX_DESC_RTSEN_8821C(txdesc, value) SET_TX_DESC_RTSEN(txdesc, value)
  1189. #define GET_TX_DESC_RTSEN_8821C(txdesc) GET_TX_DESC_RTSEN(txdesc)
  1190. #define SET_TX_DESC_CTS2SELF_8821C(txdesc, value) \
  1191. SET_TX_DESC_CTS2SELF(txdesc, value)
  1192. #define GET_TX_DESC_CTS2SELF_8821C(txdesc) GET_TX_DESC_CTS2SELF(txdesc)
  1193. #define SET_TX_DESC_DISDATAFB_8821C(txdesc, value) \
  1194. SET_TX_DESC_DISDATAFB(txdesc, value)
  1195. #define GET_TX_DESC_DISDATAFB_8821C(txdesc) GET_TX_DESC_DISDATAFB(txdesc)
  1196. #define SET_TX_DESC_DISRTSFB_8821C(txdesc, value) \
  1197. SET_TX_DESC_DISRTSFB(txdesc, value)
  1198. #define GET_TX_DESC_DISRTSFB_8821C(txdesc) GET_TX_DESC_DISRTSFB(txdesc)
  1199. #define SET_TX_DESC_USE_RATE_8821C(txdesc, value) \
  1200. SET_TX_DESC_USE_RATE(txdesc, value)
  1201. #define GET_TX_DESC_USE_RATE_8821C(txdesc) GET_TX_DESC_USE_RATE(txdesc)
  1202. #define SET_TX_DESC_HW_SSN_SEL_8821C(txdesc, value) \
  1203. SET_TX_DESC_HW_SSN_SEL(txdesc, value)
  1204. #define GET_TX_DESC_HW_SSN_SEL_8821C(txdesc) GET_TX_DESC_HW_SSN_SEL(txdesc)
  1205. #define SET_TX_DESC_WHEADER_LEN_8821C(txdesc, value) \
  1206. SET_TX_DESC_WHEADER_LEN(txdesc, value)
  1207. #define GET_TX_DESC_WHEADER_LEN_8821C(txdesc) GET_TX_DESC_WHEADER_LEN(txdesc)
  1208. /*TXDESC_WORD4*/
  1209. #define SET_TX_DESC_PCTS_MASK_IDX_8821C(txdesc, value) \
  1210. SET_TX_DESC_PCTS_MASK_IDX(txdesc, value)
  1211. #define GET_TX_DESC_PCTS_MASK_IDX_8821C(txdesc) \
  1212. GET_TX_DESC_PCTS_MASK_IDX(txdesc)
  1213. #define SET_TX_DESC_PCTS_EN_8821C(txdesc, value) \
  1214. SET_TX_DESC_PCTS_EN(txdesc, value)
  1215. #define GET_TX_DESC_PCTS_EN_8821C(txdesc) GET_TX_DESC_PCTS_EN(txdesc)
  1216. #define SET_TX_DESC_RTSRATE_8821C(txdesc, value) \
  1217. SET_TX_DESC_RTSRATE(txdesc, value)
  1218. #define GET_TX_DESC_RTSRATE_8821C(txdesc) GET_TX_DESC_RTSRATE(txdesc)
  1219. #define SET_TX_DESC_RTS_DATA_RTY_LMT_8821C(txdesc, value) \
  1220. SET_TX_DESC_RTS_DATA_RTY_LMT(txdesc, value)
  1221. #define GET_TX_DESC_RTS_DATA_RTY_LMT_8821C(txdesc) \
  1222. GET_TX_DESC_RTS_DATA_RTY_LMT(txdesc)
  1223. #define SET_TX_DESC_RTY_LMT_EN_8821C(txdesc, value) \
  1224. SET_TX_DESC_RTY_LMT_EN(txdesc, value)
  1225. #define GET_TX_DESC_RTY_LMT_EN_8821C(txdesc) GET_TX_DESC_RTY_LMT_EN(txdesc)
  1226. #define SET_TX_DESC_RTS_RTY_LOWEST_RATE_8821C(txdesc, value) \
  1227. SET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc, value)
  1228. #define GET_TX_DESC_RTS_RTY_LOWEST_RATE_8821C(txdesc) \
  1229. GET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc)
  1230. #define SET_TX_DESC_DATA_RTY_LOWEST_RATE_8821C(txdesc, value) \
  1231. SET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc, value)
  1232. #define GET_TX_DESC_DATA_RTY_LOWEST_RATE_8821C(txdesc) \
  1233. GET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc)
  1234. #define SET_TX_DESC_TRY_RATE_8821C(txdesc, value) \
  1235. SET_TX_DESC_TRY_RATE(txdesc, value)
  1236. #define GET_TX_DESC_TRY_RATE_8821C(txdesc) GET_TX_DESC_TRY_RATE(txdesc)
  1237. #define SET_TX_DESC_DATARATE_8821C(txdesc, value) \
  1238. SET_TX_DESC_DATARATE(txdesc, value)
  1239. #define GET_TX_DESC_DATARATE_8821C(txdesc) GET_TX_DESC_DATARATE(txdesc)
  1240. /*TXDESC_WORD5*/
  1241. #define SET_TX_DESC_POLLUTED_8821C(txdesc, value) \
  1242. SET_TX_DESC_POLLUTED(txdesc, value)
  1243. #define GET_TX_DESC_POLLUTED_8821C(txdesc) GET_TX_DESC_POLLUTED(txdesc)
  1244. #define SET_TX_DESC_TXPWR_OFSET_8821C(txdesc, value) \
  1245. SET_TX_DESC_TXPWR_OFSET(txdesc, value)
  1246. #define GET_TX_DESC_TXPWR_OFSET_8821C(txdesc) GET_TX_DESC_TXPWR_OFSET(txdesc)
  1247. #define SET_TX_DESC_TX_ANT_8821C(txdesc, value) \
  1248. SET_TX_DESC_TX_ANT(txdesc, value)
  1249. #define GET_TX_DESC_TX_ANT_8821C(txdesc) GET_TX_DESC_TX_ANT(txdesc)
  1250. #define SET_TX_DESC_PORT_ID_8821C(txdesc, value) \
  1251. SET_TX_DESC_PORT_ID(txdesc, value)
  1252. #define GET_TX_DESC_PORT_ID_8821C(txdesc) GET_TX_DESC_PORT_ID(txdesc)
  1253. #define SET_TX_DESC_MULTIPLE_PORT_8821C(txdesc, value) \
  1254. SET_TX_DESC_MULTIPLE_PORT(txdesc, value)
  1255. #define GET_TX_DESC_MULTIPLE_PORT_8821C(txdesc) \
  1256. GET_TX_DESC_MULTIPLE_PORT(txdesc)
  1257. #define SET_TX_DESC_SIGNALING_TAPKT_EN_8821C(txdesc, value) \
  1258. SET_TX_DESC_SIGNALING_TAPKT_EN(txdesc, value)
  1259. #define GET_TX_DESC_SIGNALING_TAPKT_EN_8821C(txdesc) \
  1260. GET_TX_DESC_SIGNALING_TAPKT_EN(txdesc)
  1261. #define SET_TX_DESC_SIGNALING_TA_PKT_SC_8821C(txdesc, value) \
  1262. SET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc, value)
  1263. #define GET_TX_DESC_SIGNALING_TA_PKT_SC_8821C(txdesc) \
  1264. GET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc)
  1265. #define SET_TX_DESC_RTS_SHORT_8821C(txdesc, value) \
  1266. SET_TX_DESC_RTS_SHORT(txdesc, value)
  1267. #define GET_TX_DESC_RTS_SHORT_8821C(txdesc) GET_TX_DESC_RTS_SHORT(txdesc)
  1268. #define SET_TX_DESC_VCS_STBC_8821C(txdesc, value) \
  1269. SET_TX_DESC_VCS_STBC(txdesc, value)
  1270. #define GET_TX_DESC_VCS_STBC_8821C(txdesc) GET_TX_DESC_VCS_STBC(txdesc)
  1271. #define SET_TX_DESC_DATA_STBC_8821C(txdesc, value) \
  1272. SET_TX_DESC_DATA_STBC(txdesc, value)
  1273. #define GET_TX_DESC_DATA_STBC_8821C(txdesc) GET_TX_DESC_DATA_STBC(txdesc)
  1274. #define SET_TX_DESC_DATA_LDPC_8821C(txdesc, value) \
  1275. SET_TX_DESC_DATA_LDPC(txdesc, value)
  1276. #define GET_TX_DESC_DATA_LDPC_8821C(txdesc) GET_TX_DESC_DATA_LDPC(txdesc)
  1277. #define SET_TX_DESC_DATA_BW_8821C(txdesc, value) \
  1278. SET_TX_DESC_DATA_BW(txdesc, value)
  1279. #define GET_TX_DESC_DATA_BW_8821C(txdesc) GET_TX_DESC_DATA_BW(txdesc)
  1280. #define SET_TX_DESC_DATA_SHORT_8821C(txdesc, value) \
  1281. SET_TX_DESC_DATA_SHORT(txdesc, value)
  1282. #define GET_TX_DESC_DATA_SHORT_8821C(txdesc) GET_TX_DESC_DATA_SHORT(txdesc)
  1283. #define SET_TX_DESC_DATA_SC_8821C(txdesc, value) \
  1284. SET_TX_DESC_DATA_SC(txdesc, value)
  1285. #define GET_TX_DESC_DATA_SC_8821C(txdesc) GET_TX_DESC_DATA_SC(txdesc)
  1286. /*TXDESC_WORD6*/
  1287. #define SET_TX_DESC_ANTSEL_D_8821C(txdesc, value) \
  1288. SET_TX_DESC_ANTSEL_D(txdesc, value)
  1289. #define GET_TX_DESC_ANTSEL_D_8821C(txdesc) GET_TX_DESC_ANTSEL_D(txdesc)
  1290. #define SET_TX_DESC_ANT_MAPD_8821C(txdesc, value) \
  1291. SET_TX_DESC_ANT_MAPD(txdesc, value)
  1292. #define GET_TX_DESC_ANT_MAPD_8821C(txdesc) GET_TX_DESC_ANT_MAPD(txdesc)
  1293. #define SET_TX_DESC_ANT_MAPC_8821C(txdesc, value) \
  1294. SET_TX_DESC_ANT_MAPC(txdesc, value)
  1295. #define GET_TX_DESC_ANT_MAPC_8821C(txdesc) GET_TX_DESC_ANT_MAPC(txdesc)
  1296. #define SET_TX_DESC_ANT_MAPB_8821C(txdesc, value) \
  1297. SET_TX_DESC_ANT_MAPB(txdesc, value)
  1298. #define GET_TX_DESC_ANT_MAPB_8821C(txdesc) GET_TX_DESC_ANT_MAPB(txdesc)
  1299. #define SET_TX_DESC_ANT_MAPA_8821C(txdesc, value) \
  1300. SET_TX_DESC_ANT_MAPA(txdesc, value)
  1301. #define GET_TX_DESC_ANT_MAPA_8821C(txdesc) GET_TX_DESC_ANT_MAPA(txdesc)
  1302. #define SET_TX_DESC_ANTSEL_C_8821C(txdesc, value) \
  1303. SET_TX_DESC_ANTSEL_C(txdesc, value)
  1304. #define GET_TX_DESC_ANTSEL_C_8821C(txdesc) GET_TX_DESC_ANTSEL_C(txdesc)
  1305. #define SET_TX_DESC_ANTSEL_B_8821C(txdesc, value) \
  1306. SET_TX_DESC_ANTSEL_B(txdesc, value)
  1307. #define GET_TX_DESC_ANTSEL_B_8821C(txdesc) GET_TX_DESC_ANTSEL_B(txdesc)
  1308. #define SET_TX_DESC_ANTSEL_A_8821C(txdesc, value) \
  1309. SET_TX_DESC_ANTSEL_A(txdesc, value)
  1310. #define GET_TX_DESC_ANTSEL_A_8821C(txdesc) GET_TX_DESC_ANTSEL_A(txdesc)
  1311. #define SET_TX_DESC_MBSSID_8821C(txdesc, value) \
  1312. SET_TX_DESC_MBSSID(txdesc, value)
  1313. #define GET_TX_DESC_MBSSID_8821C(txdesc) GET_TX_DESC_MBSSID(txdesc)
  1314. #define SET_TX_DESC_SW_DEFINE_8821C(txdesc, value) \
  1315. SET_TX_DESC_SW_DEFINE(txdesc, value)
  1316. #define GET_TX_DESC_SW_DEFINE_8821C(txdesc) GET_TX_DESC_SW_DEFINE(txdesc)
  1317. /*TXDESC_WORD7*/
  1318. #define SET_TX_DESC_DMA_TXAGG_NUM_8821C(txdesc, value) \
  1319. SET_TX_DESC_DMA_TXAGG_NUM(txdesc, value)
  1320. #define GET_TX_DESC_DMA_TXAGG_NUM_8821C(txdesc) \
  1321. GET_TX_DESC_DMA_TXAGG_NUM(txdesc)
  1322. #define SET_TX_DESC_FINAL_DATA_RATE_8821C(txdesc, value) \
  1323. SET_TX_DESC_FINAL_DATA_RATE(txdesc, value)
  1324. #define GET_TX_DESC_FINAL_DATA_RATE_8821C(txdesc) \
  1325. GET_TX_DESC_FINAL_DATA_RATE(txdesc)
  1326. #define SET_TX_DESC_NTX_MAP_8821C(txdesc, value) \
  1327. SET_TX_DESC_NTX_MAP(txdesc, value)
  1328. #define GET_TX_DESC_NTX_MAP_8821C(txdesc) GET_TX_DESC_NTX_MAP(txdesc)
  1329. #define SET_TX_DESC_TX_BUFF_SIZE_8821C(txdesc, value) \
  1330. SET_TX_DESC_TX_BUFF_SIZE(txdesc, value)
  1331. #define GET_TX_DESC_TX_BUFF_SIZE_8821C(txdesc) GET_TX_DESC_TX_BUFF_SIZE(txdesc)
  1332. #define SET_TX_DESC_TXDESC_CHECKSUM_8821C(txdesc, value) \
  1333. SET_TX_DESC_TXDESC_CHECKSUM(txdesc, value)
  1334. #define GET_TX_DESC_TXDESC_CHECKSUM_8821C(txdesc) \
  1335. GET_TX_DESC_TXDESC_CHECKSUM(txdesc)
  1336. #define SET_TX_DESC_TIMESTAMP_8821C(txdesc, value) \
  1337. SET_TX_DESC_TIMESTAMP(txdesc, value)
  1338. #define GET_TX_DESC_TIMESTAMP_8821C(txdesc) GET_TX_DESC_TIMESTAMP(txdesc)
  1339. /*TXDESC_WORD8*/
  1340. #define SET_TX_DESC_TXWIFI_CP_8821C(txdesc, value) \
  1341. SET_TX_DESC_TXWIFI_CP(txdesc, value)
  1342. #define GET_TX_DESC_TXWIFI_CP_8821C(txdesc) GET_TX_DESC_TXWIFI_CP(txdesc)
  1343. #define SET_TX_DESC_MAC_CP_8821C(txdesc, value) \
  1344. SET_TX_DESC_MAC_CP(txdesc, value)
  1345. #define GET_TX_DESC_MAC_CP_8821C(txdesc) GET_TX_DESC_MAC_CP(txdesc)
  1346. #define SET_TX_DESC_STW_PKTRE_DIS_8821C(txdesc, value) \
  1347. SET_TX_DESC_STW_PKTRE_DIS(txdesc, value)
  1348. #define GET_TX_DESC_STW_PKTRE_DIS_8821C(txdesc) \
  1349. GET_TX_DESC_STW_PKTRE_DIS(txdesc)
  1350. #define SET_TX_DESC_STW_RB_DIS_8821C(txdesc, value) \
  1351. SET_TX_DESC_STW_RB_DIS(txdesc, value)
  1352. #define GET_TX_DESC_STW_RB_DIS_8821C(txdesc) GET_TX_DESC_STW_RB_DIS(txdesc)
  1353. #define SET_TX_DESC_STW_RATE_DIS_8821C(txdesc, value) \
  1354. SET_TX_DESC_STW_RATE_DIS(txdesc, value)
  1355. #define GET_TX_DESC_STW_RATE_DIS_8821C(txdesc) GET_TX_DESC_STW_RATE_DIS(txdesc)
  1356. #define SET_TX_DESC_STW_ANT_DIS_8821C(txdesc, value) \
  1357. SET_TX_DESC_STW_ANT_DIS(txdesc, value)
  1358. #define GET_TX_DESC_STW_ANT_DIS_8821C(txdesc) GET_TX_DESC_STW_ANT_DIS(txdesc)
  1359. #define SET_TX_DESC_STW_EN_8821C(txdesc, value) \
  1360. SET_TX_DESC_STW_EN(txdesc, value)
  1361. #define GET_TX_DESC_STW_EN_8821C(txdesc) GET_TX_DESC_STW_EN(txdesc)
  1362. #define SET_TX_DESC_SMH_EN_8821C(txdesc, value) \
  1363. SET_TX_DESC_SMH_EN(txdesc, value)
  1364. #define GET_TX_DESC_SMH_EN_8821C(txdesc) GET_TX_DESC_SMH_EN(txdesc)
  1365. #define SET_TX_DESC_TAILPAGE_L_8821C(txdesc, value) \
  1366. SET_TX_DESC_TAILPAGE_L(txdesc, value)
  1367. #define GET_TX_DESC_TAILPAGE_L_8821C(txdesc) GET_TX_DESC_TAILPAGE_L(txdesc)
  1368. #define SET_TX_DESC_SDIO_DMASEQ_8821C(txdesc, value) \
  1369. SET_TX_DESC_SDIO_DMASEQ(txdesc, value)
  1370. #define GET_TX_DESC_SDIO_DMASEQ_8821C(txdesc) GET_TX_DESC_SDIO_DMASEQ(txdesc)
  1371. #define SET_TX_DESC_NEXTHEADPAGE_L_8821C(txdesc, value) \
  1372. SET_TX_DESC_NEXTHEADPAGE_L(txdesc, value)
  1373. #define GET_TX_DESC_NEXTHEADPAGE_L_8821C(txdesc) \
  1374. GET_TX_DESC_NEXTHEADPAGE_L(txdesc)
  1375. #define SET_TX_DESC_EN_HWSEQ_8821C(txdesc, value) \
  1376. SET_TX_DESC_EN_HWSEQ(txdesc, value)
  1377. #define GET_TX_DESC_EN_HWSEQ_8821C(txdesc) GET_TX_DESC_EN_HWSEQ(txdesc)
  1378. #define SET_TX_DESC_EN_HWEXSEQ_8821C(txdesc, value) \
  1379. SET_TX_DESC_EN_HWEXSEQ(txdesc, value)
  1380. #define GET_TX_DESC_EN_HWEXSEQ_8821C(txdesc) GET_TX_DESC_EN_HWEXSEQ(txdesc)
  1381. #define SET_TX_DESC_DATA_RC_8821C(txdesc, value) \
  1382. SET_TX_DESC_DATA_RC(txdesc, value)
  1383. #define GET_TX_DESC_DATA_RC_8821C(txdesc) GET_TX_DESC_DATA_RC(txdesc)
  1384. #define SET_TX_DESC_BAR_RTY_TH_8821C(txdesc, value) \
  1385. SET_TX_DESC_BAR_RTY_TH(txdesc, value)
  1386. #define GET_TX_DESC_BAR_RTY_TH_8821C(txdesc) GET_TX_DESC_BAR_RTY_TH(txdesc)
  1387. #define SET_TX_DESC_RTS_RC_8821C(txdesc, value) \
  1388. SET_TX_DESC_RTS_RC(txdesc, value)
  1389. #define GET_TX_DESC_RTS_RC_8821C(txdesc) GET_TX_DESC_RTS_RC(txdesc)
  1390. /*TXDESC_WORD9*/
  1391. #define SET_TX_DESC_TAILPAGE_H_8821C(txdesc, value) \
  1392. SET_TX_DESC_TAILPAGE_H(txdesc, value)
  1393. #define GET_TX_DESC_TAILPAGE_H_8821C(txdesc) GET_TX_DESC_TAILPAGE_H(txdesc)
  1394. #define SET_TX_DESC_NEXTHEADPAGE_H_8821C(txdesc, value) \
  1395. SET_TX_DESC_NEXTHEADPAGE_H(txdesc, value)
  1396. #define GET_TX_DESC_NEXTHEADPAGE_H_8821C(txdesc) \
  1397. GET_TX_DESC_NEXTHEADPAGE_H(txdesc)
  1398. #define SET_TX_DESC_SW_SEQ_8821C(txdesc, value) \
  1399. SET_TX_DESC_SW_SEQ(txdesc, value)
  1400. #define GET_TX_DESC_SW_SEQ_8821C(txdesc) GET_TX_DESC_SW_SEQ(txdesc)
  1401. #define SET_TX_DESC_TXBF_PATH_8821C(txdesc, value) \
  1402. SET_TX_DESC_TXBF_PATH(txdesc, value)
  1403. #define GET_TX_DESC_TXBF_PATH_8821C(txdesc) GET_TX_DESC_TXBF_PATH(txdesc)
  1404. #define SET_TX_DESC_PADDING_LEN_8821C(txdesc, value) \
  1405. SET_TX_DESC_PADDING_LEN(txdesc, value)
  1406. #define GET_TX_DESC_PADDING_LEN_8821C(txdesc) GET_TX_DESC_PADDING_LEN(txdesc)
  1407. #define SET_TX_DESC_GROUP_BIT_IE_OFFSET_8821C(txdesc, value) \
  1408. SET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc, value)
  1409. #define GET_TX_DESC_GROUP_BIT_IE_OFFSET_8821C(txdesc) \
  1410. GET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc)
  1411. /*WORD10*/
  1412. #define SET_TX_DESC_MU_DATARATE_8821C(txdesc, value) \
  1413. SET_TX_DESC_MU_DATARATE(txdesc, value)
  1414. #define GET_TX_DESC_MU_DATARATE_8821C(txdesc) GET_TX_DESC_MU_DATARATE(txdesc)
  1415. #define SET_TX_DESC_MU_RC_8821C(txdesc, value) SET_TX_DESC_MU_RC(txdesc, value)
  1416. #define GET_TX_DESC_MU_RC_8821C(txdesc) GET_TX_DESC_MU_RC(txdesc)
  1417. #define SET_TX_DESC_SND_PKT_SEL_8821C(txdesc, value) \
  1418. SET_TX_DESC_SND_PKT_SEL(txdesc, value)
  1419. #define GET_TX_DESC_SND_PKT_SEL_8821C(txdesc) GET_TX_DESC_SND_PKT_SEL(txdesc)
  1420. #endif
  1421. #if (HALMAC_8814B_SUPPORT)
  1422. /*TXDESC_WORD0*/
  1423. #define SET_TX_DESC_IE_END_BODY_8814B(txdesc, value) \
  1424. SET_TX_DESC_IE_END_BODY(txdesc, value)
  1425. #define GET_TX_DESC_IE_END_BODY_8814B(txdesc) GET_TX_DESC_IE_END_BODY(txdesc)
  1426. #define SET_TX_DESC_AGG_EN_8814B(txdesc, value) \
  1427. SET_TX_DESC_AGG_EN_V1(txdesc, value)
  1428. #define GET_TX_DESC_AGG_EN_8814B(txdesc) GET_TX_DESC_AGG_EN_V1(txdesc)
  1429. #define SET_TX_DESC_BK_8814B(txdesc, value) SET_TX_DESC_BK_V1(txdesc, value)
  1430. #define GET_TX_DESC_BK_8814B(txdesc) GET_TX_DESC_BK_V1(txdesc)
  1431. #define SET_TX_DESC_PKT_OFFSET_8814B(txdesc, value) \
  1432. SET_TX_DESC_PKT_OFFSET_V1(txdesc, value)
  1433. #define GET_TX_DESC_PKT_OFFSET_8814B(txdesc) GET_TX_DESC_PKT_OFFSET_V1(txdesc)
  1434. #define SET_TX_DESC_OFFSET_8814B(txdesc, value) \
  1435. SET_TX_DESC_OFFSET(txdesc, value)
  1436. #define GET_TX_DESC_OFFSET_8814B(txdesc) GET_TX_DESC_OFFSET(txdesc)
  1437. #define SET_TX_DESC_TXPKTSIZE_8814B(txdesc, value) \
  1438. SET_TX_DESC_TXPKTSIZE(txdesc, value)
  1439. #define GET_TX_DESC_TXPKTSIZE_8814B(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
  1440. /*WORD1*/
  1441. #define SET_TX_DESC_AMSDU_8814B(txdesc, value) SET_TX_DESC_AMSDU(txdesc, value)
  1442. #define GET_TX_DESC_AMSDU_8814B(txdesc) GET_TX_DESC_AMSDU(txdesc)
  1443. #define SET_TX_DESC_HW_AES_IV_8814B(txdesc, value) \
  1444. SET_TX_DESC_HW_AES_IV_V1(txdesc, value)
  1445. #define GET_TX_DESC_HW_AES_IV_8814B(txdesc) GET_TX_DESC_HW_AES_IV_V1(txdesc)
  1446. #define SET_TX_DESC_MHR_CP_8814B(txdesc, value) \
  1447. SET_TX_DESC_MHR_CP(txdesc, value)
  1448. #define GET_TX_DESC_MHR_CP_8814B(txdesc) GET_TX_DESC_MHR_CP(txdesc)
  1449. #define SET_TX_DESC_SMH_EN_8814B(txdesc, value) \
  1450. SET_TX_DESC_SMH_EN_V1(txdesc, value)
  1451. #define GET_TX_DESC_SMH_EN_8814B(txdesc) GET_TX_DESC_SMH_EN_V1(txdesc)
  1452. #define SET_TX_DESC_SMH_CAM_8814B(txdesc, value) \
  1453. SET_TX_DESC_SMH_CAM(txdesc, value)
  1454. #define GET_TX_DESC_SMH_CAM_8814B(txdesc) GET_TX_DESC_SMH_CAM(txdesc)
  1455. #define SET_TX_DESC_EXT_EDCA_8814B(txdesc, value) \
  1456. SET_TX_DESC_EXT_EDCA(txdesc, value)
  1457. #define GET_TX_DESC_EXT_EDCA_8814B(txdesc) GET_TX_DESC_EXT_EDCA(txdesc)
  1458. #define SET_TX_DESC_QSEL_8814B(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
  1459. #define GET_TX_DESC_QSEL_8814B(txdesc) GET_TX_DESC_QSEL(txdesc)
  1460. #define SET_TX_DESC_MACID_8814B(txdesc, value) \
  1461. SET_TX_DESC_MACID_V1(txdesc, value)
  1462. #define GET_TX_DESC_MACID_8814B(txdesc) GET_TX_DESC_MACID_V1(txdesc)
  1463. /*TXDESC_WORD2*/
  1464. #define SET_TX_DESC_CHK_EN_8814B(txdesc, value) \
  1465. SET_TX_DESC_CHK_EN_V1(txdesc, value)
  1466. #define GET_TX_DESC_CHK_EN_8814B(txdesc) GET_TX_DESC_CHK_EN_V1(txdesc)
  1467. #define SET_TX_DESC_DMA_PRI_8814B(txdesc, value) \
  1468. SET_TX_DESC_DMA_PRI(txdesc, value)
  1469. #define GET_TX_DESC_DMA_PRI_8814B(txdesc) GET_TX_DESC_DMA_PRI(txdesc)
  1470. #define SET_TX_DESC_MAX_AMSDU_MODE_8814B(txdesc, value) \
  1471. SET_TX_DESC_MAX_AMSDU_MODE(txdesc, value)
  1472. #define GET_TX_DESC_MAX_AMSDU_MODE_8814B(txdesc) \
  1473. GET_TX_DESC_MAX_AMSDU_MODE(txdesc)
  1474. #define SET_TX_DESC_DMA_TXAGG_NUM_8814B(txdesc, value) \
  1475. SET_TX_DESC_DMA_TXAGG_NUM_V1(txdesc, value)
  1476. #define GET_TX_DESC_DMA_TXAGG_NUM_8814B(txdesc) \
  1477. GET_TX_DESC_DMA_TXAGG_NUM_V1(txdesc)
  1478. #define SET_TX_DESC_TXDESC_CHECKSUM_8814B(txdesc, value) \
  1479. SET_TX_DESC_TXDESC_CHECKSUM_V1(txdesc, value)
  1480. #define GET_TX_DESC_TXDESC_CHECKSUM_8814B(txdesc) \
  1481. GET_TX_DESC_TXDESC_CHECKSUM_V1(txdesc)
  1482. /*TXDESC_WORD3*/
  1483. #define SET_TX_DESC_OFFLOAD_SIZE_8814B(txdesc, value) \
  1484. SET_TX_DESC_OFFLOAD_SIZE(txdesc, value)
  1485. #define GET_TX_DESC_OFFLOAD_SIZE_8814B(txdesc) GET_TX_DESC_OFFLOAD_SIZE(txdesc)
  1486. #define SET_TX_DESC_CHANNEL_DMA_8814B(txdesc, value) \
  1487. SET_TX_DESC_CHANNEL_DMA(txdesc, value)
  1488. #define GET_TX_DESC_CHANNEL_DMA_8814B(txdesc) GET_TX_DESC_CHANNEL_DMA(txdesc)
  1489. #define SET_TX_DESC_IE_CNT_8814B(txdesc, value) \
  1490. SET_TX_DESC_IE_CNT(txdesc, value)
  1491. #define GET_TX_DESC_IE_CNT_8814B(txdesc) GET_TX_DESC_IE_CNT(txdesc)
  1492. #define SET_TX_DESC_IE_CNT_EN_8814B(txdesc, value) \
  1493. SET_TX_DESC_IE_CNT_EN(txdesc, value)
  1494. #define GET_TX_DESC_IE_CNT_EN_8814B(txdesc) GET_TX_DESC_IE_CNT_EN(txdesc)
  1495. #define SET_TX_DESC_WHEADER_LEN_8814B(txdesc, value) \
  1496. SET_TX_DESC_WHEADER_LEN_V1(txdesc, value)
  1497. #define GET_TX_DESC_WHEADER_LEN_8814B(txdesc) GET_TX_DESC_WHEADER_LEN_V1(txdesc)
  1498. /*TXDESC_WORD4*/
  1499. /*TXDESC_WORD5*/
  1500. /*TXDESC_WORD6*/
  1501. /*TXDESC_WORD7*/
  1502. /*TXDESC_WORD8*/
  1503. /*TXDESC_WORD9*/
  1504. /*WORD10*/
  1505. #endif
  1506. #if (HALMAC_8198F_SUPPORT)
  1507. /*TXDESC_WORD0*/
  1508. #define SET_TX_DESC_DISQSELSEQ_8198F(txdesc, value) \
  1509. SET_TX_DESC_DISQSELSEQ(txdesc, value)
  1510. #define GET_TX_DESC_DISQSELSEQ_8198F(txdesc) GET_TX_DESC_DISQSELSEQ(txdesc)
  1511. #define SET_TX_DESC_GF_8198F(txdesc, value) SET_TX_DESC_GF(txdesc, value)
  1512. #define GET_TX_DESC_GF_8198F(txdesc) GET_TX_DESC_GF(txdesc)
  1513. #define SET_TX_DESC_NO_ACM_8198F(txdesc, value) \
  1514. SET_TX_DESC_NO_ACM(txdesc, value)
  1515. #define GET_TX_DESC_NO_ACM_8198F(txdesc) GET_TX_DESC_NO_ACM(txdesc)
  1516. #define SET_TX_DESC_BCNPKT_TSF_CTRL_8198F(txdesc, value) \
  1517. SET_TX_DESC_BCNPKT_TSF_CTRL(txdesc, value)
  1518. #define GET_TX_DESC_BCNPKT_TSF_CTRL_8198F(txdesc) \
  1519. GET_TX_DESC_BCNPKT_TSF_CTRL(txdesc)
  1520. #define SET_TX_DESC_AMSDU_PAD_EN_8198F(txdesc, value) \
  1521. SET_TX_DESC_AMSDU_PAD_EN(txdesc, value)
  1522. #define GET_TX_DESC_AMSDU_PAD_EN_8198F(txdesc) GET_TX_DESC_AMSDU_PAD_EN(txdesc)
  1523. #define SET_TX_DESC_LS_8198F(txdesc, value) SET_TX_DESC_LS(txdesc, value)
  1524. #define GET_TX_DESC_LS_8198F(txdesc) GET_TX_DESC_LS(txdesc)
  1525. #define SET_TX_DESC_HTC_8198F(txdesc, value) SET_TX_DESC_HTC(txdesc, value)
  1526. #define GET_TX_DESC_HTC_8198F(txdesc) GET_TX_DESC_HTC(txdesc)
  1527. #define SET_TX_DESC_BMC_8198F(txdesc, value) SET_TX_DESC_BMC(txdesc, value)
  1528. #define GET_TX_DESC_BMC_8198F(txdesc) GET_TX_DESC_BMC(txdesc)
  1529. #define SET_TX_DESC_OFFSET_8198F(txdesc, value) \
  1530. SET_TX_DESC_OFFSET(txdesc, value)
  1531. #define GET_TX_DESC_OFFSET_8198F(txdesc) GET_TX_DESC_OFFSET(txdesc)
  1532. #define SET_TX_DESC_TXPKTSIZE_8198F(txdesc, value) \
  1533. SET_TX_DESC_TXPKTSIZE(txdesc, value)
  1534. #define GET_TX_DESC_TXPKTSIZE_8198F(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
  1535. /*WORD1*/
  1536. #define SET_TX_DESC_HW_AES_IV_8198F(txdesc, value) \
  1537. SET_TX_DESC_HW_AES_IV_V2(txdesc, value)
  1538. #define GET_TX_DESC_HW_AES_IV_8198F(txdesc) GET_TX_DESC_HW_AES_IV_V2(txdesc)
  1539. #define SET_TX_DESC_FTM_EN_8198F(txdesc, value) \
  1540. SET_TX_DESC_FTM_EN_V1(txdesc, value)
  1541. #define GET_TX_DESC_FTM_EN_8198F(txdesc) GET_TX_DESC_FTM_EN_V1(txdesc)
  1542. #define SET_TX_DESC_MOREDATA_8198F(txdesc, value) \
  1543. SET_TX_DESC_MOREDATA(txdesc, value)
  1544. #define GET_TX_DESC_MOREDATA_8198F(txdesc) GET_TX_DESC_MOREDATA(txdesc)
  1545. #define SET_TX_DESC_PKT_OFFSET_8198F(txdesc, value) \
  1546. SET_TX_DESC_PKT_OFFSET(txdesc, value)
  1547. #define GET_TX_DESC_PKT_OFFSET_8198F(txdesc) GET_TX_DESC_PKT_OFFSET(txdesc)
  1548. #define SET_TX_DESC_SEC_TYPE_8198F(txdesc, value) \
  1549. SET_TX_DESC_SEC_TYPE(txdesc, value)
  1550. #define GET_TX_DESC_SEC_TYPE_8198F(txdesc) GET_TX_DESC_SEC_TYPE(txdesc)
  1551. #define SET_TX_DESC_EN_DESC_ID_8198F(txdesc, value) \
  1552. SET_TX_DESC_EN_DESC_ID(txdesc, value)
  1553. #define GET_TX_DESC_EN_DESC_ID_8198F(txdesc) GET_TX_DESC_EN_DESC_ID(txdesc)
  1554. #define SET_TX_DESC_RATE_ID_8198F(txdesc, value) \
  1555. SET_TX_DESC_RATE_ID(txdesc, value)
  1556. #define GET_TX_DESC_RATE_ID_8198F(txdesc) GET_TX_DESC_RATE_ID(txdesc)
  1557. #define SET_TX_DESC_PIFS_8198F(txdesc, value) SET_TX_DESC_PIFS(txdesc, value)
  1558. #define GET_TX_DESC_PIFS_8198F(txdesc) GET_TX_DESC_PIFS(txdesc)
  1559. #define SET_TX_DESC_LSIG_TXOP_EN_8198F(txdesc, value) \
  1560. SET_TX_DESC_LSIG_TXOP_EN(txdesc, value)
  1561. #define GET_TX_DESC_LSIG_TXOP_EN_8198F(txdesc) GET_TX_DESC_LSIG_TXOP_EN(txdesc)
  1562. #define SET_TX_DESC_RD_NAV_EXT_8198F(txdesc, value) \
  1563. SET_TX_DESC_RD_NAV_EXT(txdesc, value)
  1564. #define GET_TX_DESC_RD_NAV_EXT_8198F(txdesc) GET_TX_DESC_RD_NAV_EXT(txdesc)
  1565. #define SET_TX_DESC_QSEL_8198F(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
  1566. #define GET_TX_DESC_QSEL_8198F(txdesc) GET_TX_DESC_QSEL(txdesc)
  1567. #define SET_TX_DESC_SPECIAL_CW_8198F(txdesc, value) \
  1568. SET_TX_DESC_SPECIAL_CW(txdesc, value)
  1569. #define GET_TX_DESC_SPECIAL_CW_8198F(txdesc) GET_TX_DESC_SPECIAL_CW(txdesc)
  1570. #define SET_TX_DESC_MACID_8198F(txdesc, value) SET_TX_DESC_MACID(txdesc, value)
  1571. #define GET_TX_DESC_MACID_8198F(txdesc) GET_TX_DESC_MACID(txdesc)
  1572. /*TXDESC_WORD2*/
  1573. #define SET_TX_DESC_ANTCEL_D_8198F(txdesc, value) \
  1574. SET_TX_DESC_ANTCEL_D_V1(txdesc, value)
  1575. #define GET_TX_DESC_ANTCEL_D_8198F(txdesc) GET_TX_DESC_ANTCEL_D_V1(txdesc)
  1576. #define SET_TX_DESC_ANTSEL_C_8198F(txdesc, value) \
  1577. SET_TX_DESC_ANTSEL_C_V1(txdesc, value)
  1578. #define GET_TX_DESC_ANTSEL_C_8198F(txdesc) GET_TX_DESC_ANTSEL_C_V1(txdesc)
  1579. #define SET_TX_DESC_BT_NULL_8198F(txdesc, value) \
  1580. SET_TX_DESC_BT_NULL(txdesc, value)
  1581. #define GET_TX_DESC_BT_NULL_8198F(txdesc) GET_TX_DESC_BT_NULL(txdesc)
  1582. #define SET_TX_DESC_AMPDU_DENSITY_8198F(txdesc, value) \
  1583. SET_TX_DESC_AMPDU_DENSITY(txdesc, value)
  1584. #define GET_TX_DESC_AMPDU_DENSITY_8198F(txdesc) \
  1585. GET_TX_DESC_AMPDU_DENSITY(txdesc)
  1586. #define SET_TX_DESC_SPE_RPT_8198F(txdesc, value) \
  1587. SET_TX_DESC_SPE_RPT(txdesc, value)
  1588. #define GET_TX_DESC_SPE_RPT_8198F(txdesc) GET_TX_DESC_SPE_RPT(txdesc)
  1589. #define SET_TX_DESC_RAW_8198F(txdesc, value) SET_TX_DESC_RAW(txdesc, value)
  1590. #define GET_TX_DESC_RAW_8198F(txdesc) GET_TX_DESC_RAW(txdesc)
  1591. #define SET_TX_DESC_MOREFRAG_8198F(txdesc, value) \
  1592. SET_TX_DESC_MOREFRAG(txdesc, value)
  1593. #define GET_TX_DESC_MOREFRAG_8198F(txdesc) GET_TX_DESC_MOREFRAG(txdesc)
  1594. #define SET_TX_DESC_BK_8198F(txdesc, value) SET_TX_DESC_BK(txdesc, value)
  1595. #define GET_TX_DESC_BK_8198F(txdesc) GET_TX_DESC_BK(txdesc)
  1596. #define SET_TX_DESC_NULL_1_8198F(txdesc, value) \
  1597. SET_TX_DESC_NULL_1(txdesc, value)
  1598. #define GET_TX_DESC_NULL_1_8198F(txdesc) GET_TX_DESC_NULL_1(txdesc)
  1599. #define SET_TX_DESC_NULL_0_8198F(txdesc, value) \
  1600. SET_TX_DESC_NULL_0(txdesc, value)
  1601. #define GET_TX_DESC_NULL_0_8198F(txdesc) GET_TX_DESC_NULL_0(txdesc)
  1602. #define SET_TX_DESC_RDG_EN_8198F(txdesc, value) \
  1603. SET_TX_DESC_RDG_EN(txdesc, value)
  1604. #define GET_TX_DESC_RDG_EN_8198F(txdesc) GET_TX_DESC_RDG_EN(txdesc)
  1605. #define SET_TX_DESC_AGG_EN_8198F(txdesc, value) \
  1606. SET_TX_DESC_AGG_EN(txdesc, value)
  1607. #define GET_TX_DESC_AGG_EN_8198F(txdesc) GET_TX_DESC_AGG_EN(txdesc)
  1608. #define SET_TX_DESC_CCA_RTS_8198F(txdesc, value) \
  1609. SET_TX_DESC_CCA_RTS(txdesc, value)
  1610. #define GET_TX_DESC_CCA_RTS_8198F(txdesc) GET_TX_DESC_CCA_RTS(txdesc)
  1611. #define SET_TX_DESC_TRI_FRAME_8198F(txdesc, value) \
  1612. SET_TX_DESC_TRI_FRAME(txdesc, value)
  1613. #define GET_TX_DESC_TRI_FRAME_8198F(txdesc) GET_TX_DESC_TRI_FRAME(txdesc)
  1614. #define SET_TX_DESC_P_AID_8198F(txdesc, value) SET_TX_DESC_P_AID(txdesc, value)
  1615. #define GET_TX_DESC_P_AID_8198F(txdesc) GET_TX_DESC_P_AID(txdesc)
  1616. /*TXDESC_WORD3*/
  1617. #define SET_TX_DESC_AMPDU_MAX_TIME_8198F(txdesc, value) \
  1618. SET_TX_DESC_AMPDU_MAX_TIME(txdesc, value)
  1619. #define GET_TX_DESC_AMPDU_MAX_TIME_8198F(txdesc) \
  1620. GET_TX_DESC_AMPDU_MAX_TIME(txdesc)
  1621. #define SET_TX_DESC_NDPA_8198F(txdesc, value) SET_TX_DESC_NDPA(txdesc, value)
  1622. #define GET_TX_DESC_NDPA_8198F(txdesc) GET_TX_DESC_NDPA(txdesc)
  1623. #define SET_TX_DESC_MAX_AGG_NUM_8198F(txdesc, value) \
  1624. SET_TX_DESC_MAX_AGG_NUM(txdesc, value)
  1625. #define GET_TX_DESC_MAX_AGG_NUM_8198F(txdesc) GET_TX_DESC_MAX_AGG_NUM(txdesc)
  1626. #define SET_TX_DESC_USE_MAX_TIME_EN_8198F(txdesc, value) \
  1627. SET_TX_DESC_USE_MAX_TIME_EN(txdesc, value)
  1628. #define GET_TX_DESC_USE_MAX_TIME_EN_8198F(txdesc) \
  1629. GET_TX_DESC_USE_MAX_TIME_EN(txdesc)
  1630. #define SET_TX_DESC_NAVUSEHDR_8198F(txdesc, value) \
  1631. SET_TX_DESC_NAVUSEHDR(txdesc, value)
  1632. #define GET_TX_DESC_NAVUSEHDR_8198F(txdesc) GET_TX_DESC_NAVUSEHDR(txdesc)
  1633. #define SET_TX_DESC_CHK_EN_8198F(txdesc, value) \
  1634. SET_TX_DESC_CHK_EN(txdesc, value)
  1635. #define GET_TX_DESC_CHK_EN_8198F(txdesc) GET_TX_DESC_CHK_EN(txdesc)
  1636. #define SET_TX_DESC_HW_RTS_EN_8198F(txdesc, value) \
  1637. SET_TX_DESC_HW_RTS_EN(txdesc, value)
  1638. #define GET_TX_DESC_HW_RTS_EN_8198F(txdesc) GET_TX_DESC_HW_RTS_EN(txdesc)
  1639. #define SET_TX_DESC_RTSEN_8198F(txdesc, value) SET_TX_DESC_RTSEN(txdesc, value)
  1640. #define GET_TX_DESC_RTSEN_8198F(txdesc) GET_TX_DESC_RTSEN(txdesc)
  1641. #define SET_TX_DESC_CTS2SELF_8198F(txdesc, value) \
  1642. SET_TX_DESC_CTS2SELF(txdesc, value)
  1643. #define GET_TX_DESC_CTS2SELF_8198F(txdesc) GET_TX_DESC_CTS2SELF(txdesc)
  1644. #define SET_TX_DESC_DISDATAFB_8198F(txdesc, value) \
  1645. SET_TX_DESC_DISDATAFB(txdesc, value)
  1646. #define GET_TX_DESC_DISDATAFB_8198F(txdesc) GET_TX_DESC_DISDATAFB(txdesc)
  1647. #define SET_TX_DESC_DISRTSFB_8198F(txdesc, value) \
  1648. SET_TX_DESC_DISRTSFB(txdesc, value)
  1649. #define GET_TX_DESC_DISRTSFB_8198F(txdesc) GET_TX_DESC_DISRTSFB(txdesc)
  1650. #define SET_TX_DESC_USE_RATE_8198F(txdesc, value) \
  1651. SET_TX_DESC_USE_RATE(txdesc, value)
  1652. #define GET_TX_DESC_USE_RATE_8198F(txdesc) GET_TX_DESC_USE_RATE(txdesc)
  1653. #define SET_TX_DESC_HW_SSN_SEL_8198F(txdesc, value) \
  1654. SET_TX_DESC_HW_SSN_SEL(txdesc, value)
  1655. #define GET_TX_DESC_HW_SSN_SEL_8198F(txdesc) GET_TX_DESC_HW_SSN_SEL(txdesc)
  1656. #define SET_TX_DESC_WHEADER_LEN_8198F(txdesc, value) \
  1657. SET_TX_DESC_WHEADER_LEN(txdesc, value)
  1658. #define GET_TX_DESC_WHEADER_LEN_8198F(txdesc) GET_TX_DESC_WHEADER_LEN(txdesc)
  1659. /*TXDESC_WORD4*/
  1660. #define SET_TX_DESC_PCTS_MASK_IDX_8198F(txdesc, value) \
  1661. SET_TX_DESC_PCTS_MASK_IDX(txdesc, value)
  1662. #define GET_TX_DESC_PCTS_MASK_IDX_8198F(txdesc) \
  1663. GET_TX_DESC_PCTS_MASK_IDX(txdesc)
  1664. #define SET_TX_DESC_PCTS_EN_8198F(txdesc, value) \
  1665. SET_TX_DESC_PCTS_EN(txdesc, value)
  1666. #define GET_TX_DESC_PCTS_EN_8198F(txdesc) GET_TX_DESC_PCTS_EN(txdesc)
  1667. #define SET_TX_DESC_RTSRATE_8198F(txdesc, value) \
  1668. SET_TX_DESC_RTSRATE(txdesc, value)
  1669. #define GET_TX_DESC_RTSRATE_8198F(txdesc) GET_TX_DESC_RTSRATE(txdesc)
  1670. #define SET_TX_DESC_RTS_DATA_RTY_LMT_8198F(txdesc, value) \
  1671. SET_TX_DESC_RTS_DATA_RTY_LMT(txdesc, value)
  1672. #define GET_TX_DESC_RTS_DATA_RTY_LMT_8198F(txdesc) \
  1673. GET_TX_DESC_RTS_DATA_RTY_LMT(txdesc)
  1674. #define SET_TX_DESC_RTY_LMT_EN_8198F(txdesc, value) \
  1675. SET_TX_DESC_RTY_LMT_EN(txdesc, value)
  1676. #define GET_TX_DESC_RTY_LMT_EN_8198F(txdesc) GET_TX_DESC_RTY_LMT_EN(txdesc)
  1677. #define SET_TX_DESC_RTS_RTY_LOWEST_RATE_8198F(txdesc, value) \
  1678. SET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc, value)
  1679. #define GET_TX_DESC_RTS_RTY_LOWEST_RATE_8198F(txdesc) \
  1680. GET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc)
  1681. #define SET_TX_DESC_DATA_RTY_LOWEST_RATE_8198F(txdesc, value) \
  1682. SET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc, value)
  1683. #define GET_TX_DESC_DATA_RTY_LOWEST_RATE_8198F(txdesc) \
  1684. GET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc)
  1685. #define SET_TX_DESC_TRY_RATE_8198F(txdesc, value) \
  1686. SET_TX_DESC_TRY_RATE(txdesc, value)
  1687. #define GET_TX_DESC_TRY_RATE_8198F(txdesc) GET_TX_DESC_TRY_RATE(txdesc)
  1688. #define SET_TX_DESC_DATARATE_8198F(txdesc, value) \
  1689. SET_TX_DESC_DATARATE(txdesc, value)
  1690. #define GET_TX_DESC_DATARATE_8198F(txdesc) GET_TX_DESC_DATARATE(txdesc)
  1691. /*TXDESC_WORD5*/
  1692. #define SET_TX_DESC_POLLUTED_8198F(txdesc, value) \
  1693. SET_TX_DESC_POLLUTED(txdesc, value)
  1694. #define GET_TX_DESC_POLLUTED_8198F(txdesc) GET_TX_DESC_POLLUTED(txdesc)
  1695. #define SET_TX_DESC_TXPWR_OFSET_8198F(txdesc, value) \
  1696. SET_TX_DESC_TXPWR_OFSET(txdesc, value)
  1697. #define GET_TX_DESC_TXPWR_OFSET_8198F(txdesc) GET_TX_DESC_TXPWR_OFSET(txdesc)
  1698. #define SET_TX_DESC_DROP_ID_8198F(txdesc, value) \
  1699. SET_TX_DESC_DROP_ID(txdesc, value)
  1700. #define GET_TX_DESC_DROP_ID_8198F(txdesc) GET_TX_DESC_DROP_ID(txdesc)
  1701. #define SET_TX_DESC_PORT_ID_8198F(txdesc, value) \
  1702. SET_TX_DESC_PORT_ID(txdesc, value)
  1703. #define GET_TX_DESC_PORT_ID_8198F(txdesc) GET_TX_DESC_PORT_ID(txdesc)
  1704. #define SET_TX_DESC_MULTIPLE_PORT_8198F(txdesc, value) \
  1705. SET_TX_DESC_MULTIPLE_PORT(txdesc, value)
  1706. #define GET_TX_DESC_MULTIPLE_PORT_8198F(txdesc) \
  1707. GET_TX_DESC_MULTIPLE_PORT(txdesc)
  1708. #define SET_TX_DESC_SIGNALING_TAPKT_EN_8198F(txdesc, value) \
  1709. SET_TX_DESC_SIGNALING_TAPKT_EN(txdesc, value)
  1710. #define GET_TX_DESC_SIGNALING_TAPKT_EN_8198F(txdesc) \
  1711. GET_TX_DESC_SIGNALING_TAPKT_EN(txdesc)
  1712. #define SET_TX_DESC_RTS_SC_8198F(txdesc, value) \
  1713. SET_TX_DESC_RTS_SC(txdesc, value)
  1714. #define GET_TX_DESC_RTS_SC_8198F(txdesc) GET_TX_DESC_RTS_SC(txdesc)
  1715. #define SET_TX_DESC_RTS_SHORT_8198F(txdesc, value) \
  1716. SET_TX_DESC_RTS_SHORT(txdesc, value)
  1717. #define GET_TX_DESC_RTS_SHORT_8198F(txdesc) GET_TX_DESC_RTS_SHORT(txdesc)
  1718. #define SET_TX_DESC_VCS_STBC_8198F(txdesc, value) \
  1719. SET_TX_DESC_VCS_STBC(txdesc, value)
  1720. #define GET_TX_DESC_VCS_STBC_8198F(txdesc) GET_TX_DESC_VCS_STBC(txdesc)
  1721. #define SET_TX_DESC_DATA_STBC_8198F(txdesc, value) \
  1722. SET_TX_DESC_DATA_STBC(txdesc, value)
  1723. #define GET_TX_DESC_DATA_STBC_8198F(txdesc) GET_TX_DESC_DATA_STBC(txdesc)
  1724. #define SET_TX_DESC_DATA_LDPC_8198F(txdesc, value) \
  1725. SET_TX_DESC_DATA_LDPC(txdesc, value)
  1726. #define GET_TX_DESC_DATA_LDPC_8198F(txdesc) GET_TX_DESC_DATA_LDPC(txdesc)
  1727. #define SET_TX_DESC_DATA_BW_8198F(txdesc, value) \
  1728. SET_TX_DESC_DATA_BW(txdesc, value)
  1729. #define GET_TX_DESC_DATA_BW_8198F(txdesc) GET_TX_DESC_DATA_BW(txdesc)
  1730. #define SET_TX_DESC_DATA_SHORT_8198F(txdesc, value) \
  1731. SET_TX_DESC_DATA_SHORT(txdesc, value)
  1732. #define GET_TX_DESC_DATA_SHORT_8198F(txdesc) GET_TX_DESC_DATA_SHORT(txdesc)
  1733. #define SET_TX_DESC_DATA_SC_8198F(txdesc, value) \
  1734. SET_TX_DESC_DATA_SC(txdesc, value)
  1735. #define GET_TX_DESC_DATA_SC_8198F(txdesc) GET_TX_DESC_DATA_SC(txdesc)
  1736. /*TXDESC_WORD6*/
  1737. #define SET_TX_DESC_ANT_MAPD_8198F(txdesc, value) \
  1738. SET_TX_DESC_ANT_MAPD_V1(txdesc, value)
  1739. #define GET_TX_DESC_ANT_MAPD_8198F(txdesc) GET_TX_DESC_ANT_MAPD_V1(txdesc)
  1740. #define SET_TX_DESC_ANT_MAPC_8198F(txdesc, value) \
  1741. SET_TX_DESC_ANT_MAPC_V1(txdesc, value)
  1742. #define GET_TX_DESC_ANT_MAPC_8198F(txdesc) GET_TX_DESC_ANT_MAPC_V1(txdesc)
  1743. #define SET_TX_DESC_ANT_MAPB_8198F(txdesc, value) \
  1744. SET_TX_DESC_ANT_MAPB_V1(txdesc, value)
  1745. #define GET_TX_DESC_ANT_MAPB_8198F(txdesc) GET_TX_DESC_ANT_MAPB_V1(txdesc)
  1746. #define SET_TX_DESC_ANT_MAPA_8198F(txdesc, value) \
  1747. SET_TX_DESC_ANT_MAPA_V1(txdesc, value)
  1748. #define GET_TX_DESC_ANT_MAPA_8198F(txdesc) GET_TX_DESC_ANT_MAPA_V1(txdesc)
  1749. #define SET_TX_DESC_ANTSEL_B_8198F(txdesc, value) \
  1750. SET_TX_DESC_ANTSEL_B_V1(txdesc, value)
  1751. #define GET_TX_DESC_ANTSEL_B_8198F(txdesc) GET_TX_DESC_ANTSEL_B_V1(txdesc)
  1752. #define SET_TX_DESC_ANTSEL_A_8198F(txdesc, value) \
  1753. SET_TX_DESC_ANTSEL_A_V1(txdesc, value)
  1754. #define GET_TX_DESC_ANTSEL_A_8198F(txdesc) GET_TX_DESC_ANTSEL_A_V1(txdesc)
  1755. #define SET_TX_DESC_MBSSID_8198F(txdesc, value) \
  1756. SET_TX_DESC_MBSSID(txdesc, value)
  1757. #define GET_TX_DESC_MBSSID_8198F(txdesc) GET_TX_DESC_MBSSID(txdesc)
  1758. #define SET_TX_DESC_SWPS_SEQ_8198F(txdesc, value) \
  1759. SET_TX_DESC_SWPS_SEQ(txdesc, value)
  1760. #define GET_TX_DESC_SWPS_SEQ_8198F(txdesc) GET_TX_DESC_SWPS_SEQ(txdesc)
  1761. /*TXDESC_WORD7*/
  1762. #define SET_TX_DESC_DMA_TXAGG_NUM_8198F(txdesc, value) \
  1763. SET_TX_DESC_DMA_TXAGG_NUM(txdesc, value)
  1764. #define GET_TX_DESC_DMA_TXAGG_NUM_8198F(txdesc) \
  1765. GET_TX_DESC_DMA_TXAGG_NUM(txdesc)
  1766. #define SET_TX_DESC_FINAL_DATA_RATE_8198F(txdesc, value) \
  1767. SET_TX_DESC_FINAL_DATA_RATE(txdesc, value)
  1768. #define GET_TX_DESC_FINAL_DATA_RATE_8198F(txdesc) \
  1769. GET_TX_DESC_FINAL_DATA_RATE(txdesc)
  1770. #define SET_TX_DESC_NTX_MAP_8198F(txdesc, value) \
  1771. SET_TX_DESC_NTX_MAP(txdesc, value)
  1772. #define GET_TX_DESC_NTX_MAP_8198F(txdesc) GET_TX_DESC_NTX_MAP(txdesc)
  1773. #define SET_TX_DESC_ANTSEL_EN_8198F(txdesc, value) \
  1774. SET_TX_DESC_ANTSEL_EN(txdesc, value)
  1775. #define GET_TX_DESC_ANTSEL_EN_8198F(txdesc) GET_TX_DESC_ANTSEL_EN(txdesc)
  1776. #define SET_TX_DESC_MBSSID_EX_8198F(txdesc, value) \
  1777. SET_TX_DESC_MBSSID_EX(txdesc, value)
  1778. #define GET_TX_DESC_MBSSID_EX_8198F(txdesc) GET_TX_DESC_MBSSID_EX(txdesc)
  1779. #define SET_TX_DESC_TX_BUFF_SIZE_8198F(txdesc, value) \
  1780. SET_TX_DESC_TX_BUFF_SIZE(txdesc, value)
  1781. #define GET_TX_DESC_TX_BUFF_SIZE_8198F(txdesc) GET_TX_DESC_TX_BUFF_SIZE(txdesc)
  1782. #define SET_TX_DESC_TXDESC_CHECKSUM_8198F(txdesc, value) \
  1783. SET_TX_DESC_TXDESC_CHECKSUM(txdesc, value)
  1784. #define GET_TX_DESC_TXDESC_CHECKSUM_8198F(txdesc) \
  1785. GET_TX_DESC_TXDESC_CHECKSUM(txdesc)
  1786. #define SET_TX_DESC_TIMESTAMP_8198F(txdesc, value) \
  1787. SET_TX_DESC_TIMESTAMP(txdesc, value)
  1788. #define GET_TX_DESC_TIMESTAMP_8198F(txdesc) GET_TX_DESC_TIMESTAMP(txdesc)
  1789. /*TXDESC_WORD8*/
  1790. #define SET_TX_DESC_TXWIFI_CP_8198F(txdesc, value) \
  1791. SET_TX_DESC_TXWIFI_CP(txdesc, value)
  1792. #define GET_TX_DESC_TXWIFI_CP_8198F(txdesc) GET_TX_DESC_TXWIFI_CP(txdesc)
  1793. #define SET_TX_DESC_MAC_CP_8198F(txdesc, value) \
  1794. SET_TX_DESC_MAC_CP(txdesc, value)
  1795. #define GET_TX_DESC_MAC_CP_8198F(txdesc) GET_TX_DESC_MAC_CP(txdesc)
  1796. #define SET_TX_DESC_STW_PKTRE_DIS_8198F(txdesc, value) \
  1797. SET_TX_DESC_STW_PKTRE_DIS(txdesc, value)
  1798. #define GET_TX_DESC_STW_PKTRE_DIS_8198F(txdesc) \
  1799. GET_TX_DESC_STW_PKTRE_DIS(txdesc)
  1800. #define SET_TX_DESC_STW_RB_DIS_8198F(txdesc, value) \
  1801. SET_TX_DESC_STW_RB_DIS(txdesc, value)
  1802. #define GET_TX_DESC_STW_RB_DIS_8198F(txdesc) GET_TX_DESC_STW_RB_DIS(txdesc)
  1803. #define SET_TX_DESC_STW_RATE_DIS_8198F(txdesc, value) \
  1804. SET_TX_DESC_STW_RATE_DIS(txdesc, value)
  1805. #define GET_TX_DESC_STW_RATE_DIS_8198F(txdesc) GET_TX_DESC_STW_RATE_DIS(txdesc)
  1806. #define SET_TX_DESC_STW_ANT_DIS_8198F(txdesc, value) \
  1807. SET_TX_DESC_STW_ANT_DIS(txdesc, value)
  1808. #define GET_TX_DESC_STW_ANT_DIS_8198F(txdesc) GET_TX_DESC_STW_ANT_DIS(txdesc)
  1809. #define SET_TX_DESC_STW_EN_8198F(txdesc, value) \
  1810. SET_TX_DESC_STW_EN(txdesc, value)
  1811. #define GET_TX_DESC_STW_EN_8198F(txdesc) GET_TX_DESC_STW_EN(txdesc)
  1812. #define SET_TX_DESC_SMH_EN_8198F(txdesc, value) \
  1813. SET_TX_DESC_SMH_EN(txdesc, value)
  1814. #define GET_TX_DESC_SMH_EN_8198F(txdesc) GET_TX_DESC_SMH_EN(txdesc)
  1815. #define SET_TX_DESC_TAILPAGE_L_8198F(txdesc, value) \
  1816. SET_TX_DESC_TAILPAGE_L(txdesc, value)
  1817. #define GET_TX_DESC_TAILPAGE_L_8198F(txdesc) GET_TX_DESC_TAILPAGE_L(txdesc)
  1818. #define SET_TX_DESC_SDIO_DMASEQ_8198F(txdesc, value) \
  1819. SET_TX_DESC_SDIO_DMASEQ(txdesc, value)
  1820. #define GET_TX_DESC_SDIO_DMASEQ_8198F(txdesc) GET_TX_DESC_SDIO_DMASEQ(txdesc)
  1821. #define SET_TX_DESC_NEXTHEADPAGE_L_8198F(txdesc, value) \
  1822. SET_TX_DESC_NEXTHEADPAGE_L(txdesc, value)
  1823. #define GET_TX_DESC_NEXTHEADPAGE_L_8198F(txdesc) \
  1824. GET_TX_DESC_NEXTHEADPAGE_L(txdesc)
  1825. #define SET_TX_DESC_EN_HWSEQ_8198F(txdesc, value) \
  1826. SET_TX_DESC_EN_HWSEQ(txdesc, value)
  1827. #define GET_TX_DESC_EN_HWSEQ_8198F(txdesc) GET_TX_DESC_EN_HWSEQ(txdesc)
  1828. #define SET_TX_DESC_EN_HWEXSEQ_8198F(txdesc, value) \
  1829. SET_TX_DESC_EN_HWEXSEQ(txdesc, value)
  1830. #define GET_TX_DESC_EN_HWEXSEQ_8198F(txdesc) GET_TX_DESC_EN_HWEXSEQ(txdesc)
  1831. #define SET_TX_DESC_DATA_RC_8198F(txdesc, value) \
  1832. SET_TX_DESC_DATA_RC(txdesc, value)
  1833. #define GET_TX_DESC_DATA_RC_8198F(txdesc) GET_TX_DESC_DATA_RC(txdesc)
  1834. #define SET_TX_DESC_BAR_RTY_TH_8198F(txdesc, value) \
  1835. SET_TX_DESC_BAR_RTY_TH(txdesc, value)
  1836. #define GET_TX_DESC_BAR_RTY_TH_8198F(txdesc) GET_TX_DESC_BAR_RTY_TH(txdesc)
  1837. #define SET_TX_DESC_RTS_RC_8198F(txdesc, value) \
  1838. SET_TX_DESC_RTS_RC(txdesc, value)
  1839. #define GET_TX_DESC_RTS_RC_8198F(txdesc) GET_TX_DESC_RTS_RC(txdesc)
  1840. /*TXDESC_WORD9*/
  1841. #define SET_TX_DESC_TAILPAGE_H_8198F(txdesc, value) \
  1842. SET_TX_DESC_TAILPAGE_H(txdesc, value)
  1843. #define GET_TX_DESC_TAILPAGE_H_8198F(txdesc) GET_TX_DESC_TAILPAGE_H(txdesc)
  1844. #define SET_TX_DESC_NEXTHEADPAGE_H_8198F(txdesc, value) \
  1845. SET_TX_DESC_NEXTHEADPAGE_H(txdesc, value)
  1846. #define GET_TX_DESC_NEXTHEADPAGE_H_8198F(txdesc) \
  1847. GET_TX_DESC_NEXTHEADPAGE_H(txdesc)
  1848. #define SET_TX_DESC_SW_SEQ_8198F(txdesc, value) \
  1849. SET_TX_DESC_SW_SEQ(txdesc, value)
  1850. #define GET_TX_DESC_SW_SEQ_8198F(txdesc) GET_TX_DESC_SW_SEQ(txdesc)
  1851. #define SET_TX_DESC_TXBF_PATH_8198F(txdesc, value) \
  1852. SET_TX_DESC_TXBF_PATH(txdesc, value)
  1853. #define GET_TX_DESC_TXBF_PATH_8198F(txdesc) GET_TX_DESC_TXBF_PATH(txdesc)
  1854. #define SET_TX_DESC_PADDING_LEN_8198F(txdesc, value) \
  1855. SET_TX_DESC_PADDING_LEN(txdesc, value)
  1856. #define GET_TX_DESC_PADDING_LEN_8198F(txdesc) GET_TX_DESC_PADDING_LEN(txdesc)
  1857. #define SET_TX_DESC_GROUP_BIT_IE_OFFSET_8198F(txdesc, value) \
  1858. SET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc, value)
  1859. #define GET_TX_DESC_GROUP_BIT_IE_OFFSET_8198F(txdesc) \
  1860. GET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc)
  1861. /*WORD10*/
  1862. #endif
  1863. #if (HALMAC_8822C_SUPPORT)
  1864. /*TXDESC_WORD0*/
  1865. #define SET_TX_DESC_DISQSELSEQ_8822C(txdesc, value) \
  1866. SET_TX_DESC_DISQSELSEQ(txdesc, value)
  1867. #define GET_TX_DESC_DISQSELSEQ_8822C(txdesc) GET_TX_DESC_DISQSELSEQ(txdesc)
  1868. #define SET_TX_DESC_GF_8822C(txdesc, value) SET_TX_DESC_GF(txdesc, value)
  1869. #define GET_TX_DESC_GF_8822C(txdesc) GET_TX_DESC_GF(txdesc)
  1870. #define SET_TX_DESC_NO_ACM_8822C(txdesc, value) \
  1871. SET_TX_DESC_NO_ACM(txdesc, value)
  1872. #define GET_TX_DESC_NO_ACM_8822C(txdesc) GET_TX_DESC_NO_ACM(txdesc)
  1873. #define SET_TX_DESC_BCNPKT_TSF_CTRL_8822C(txdesc, value) \
  1874. SET_TX_DESC_BCNPKT_TSF_CTRL(txdesc, value)
  1875. #define GET_TX_DESC_BCNPKT_TSF_CTRL_8822C(txdesc) \
  1876. GET_TX_DESC_BCNPKT_TSF_CTRL(txdesc)
  1877. #define SET_TX_DESC_AMSDU_PAD_EN_8822C(txdesc, value) \
  1878. SET_TX_DESC_AMSDU_PAD_EN(txdesc, value)
  1879. #define GET_TX_DESC_AMSDU_PAD_EN_8822C(txdesc) GET_TX_DESC_AMSDU_PAD_EN(txdesc)
  1880. #define SET_TX_DESC_LS_8822C(txdesc, value) SET_TX_DESC_LS(txdesc, value)
  1881. #define GET_TX_DESC_LS_8822C(txdesc) GET_TX_DESC_LS(txdesc)
  1882. #define SET_TX_DESC_HTC_8822C(txdesc, value) SET_TX_DESC_HTC(txdesc, value)
  1883. #define GET_TX_DESC_HTC_8822C(txdesc) GET_TX_DESC_HTC(txdesc)
  1884. #define SET_TX_DESC_BMC_8822C(txdesc, value) SET_TX_DESC_BMC(txdesc, value)
  1885. #define GET_TX_DESC_BMC_8822C(txdesc) GET_TX_DESC_BMC(txdesc)
  1886. #define SET_TX_DESC_OFFSET_8822C(txdesc, value) \
  1887. SET_TX_DESC_OFFSET(txdesc, value)
  1888. #define GET_TX_DESC_OFFSET_8822C(txdesc) GET_TX_DESC_OFFSET(txdesc)
  1889. #define SET_TX_DESC_TXPKTSIZE_8822C(txdesc, value) \
  1890. SET_TX_DESC_TXPKTSIZE(txdesc, value)
  1891. #define GET_TX_DESC_TXPKTSIZE_8822C(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
  1892. /*WORD1*/
  1893. #define SET_TX_DESC_MOREDATA_8822C(txdesc, value) \
  1894. SET_TX_DESC_MOREDATA(txdesc, value)
  1895. #define GET_TX_DESC_MOREDATA_8822C(txdesc) GET_TX_DESC_MOREDATA(txdesc)
  1896. #define SET_TX_DESC_PKT_OFFSET_8822C(txdesc, value) \
  1897. SET_TX_DESC_PKT_OFFSET(txdesc, value)
  1898. #define GET_TX_DESC_PKT_OFFSET_8822C(txdesc) GET_TX_DESC_PKT_OFFSET(txdesc)
  1899. #define SET_TX_DESC_SEC_TYPE_8822C(txdesc, value) \
  1900. SET_TX_DESC_SEC_TYPE(txdesc, value)
  1901. #define GET_TX_DESC_SEC_TYPE_8822C(txdesc) GET_TX_DESC_SEC_TYPE(txdesc)
  1902. #define SET_TX_DESC_EN_DESC_ID_8822C(txdesc, value) \
  1903. SET_TX_DESC_EN_DESC_ID(txdesc, value)
  1904. #define GET_TX_DESC_EN_DESC_ID_8822C(txdesc) GET_TX_DESC_EN_DESC_ID(txdesc)
  1905. #define SET_TX_DESC_RATE_ID_8822C(txdesc, value) \
  1906. SET_TX_DESC_RATE_ID(txdesc, value)
  1907. #define GET_TX_DESC_RATE_ID_8822C(txdesc) GET_TX_DESC_RATE_ID(txdesc)
  1908. #define SET_TX_DESC_PIFS_8822C(txdesc, value) SET_TX_DESC_PIFS(txdesc, value)
  1909. #define GET_TX_DESC_PIFS_8822C(txdesc) GET_TX_DESC_PIFS(txdesc)
  1910. #define SET_TX_DESC_LSIG_TXOP_EN_8822C(txdesc, value) \
  1911. SET_TX_DESC_LSIG_TXOP_EN(txdesc, value)
  1912. #define GET_TX_DESC_LSIG_TXOP_EN_8822C(txdesc) GET_TX_DESC_LSIG_TXOP_EN(txdesc)
  1913. #define SET_TX_DESC_RD_NAV_EXT_8822C(txdesc, value) \
  1914. SET_TX_DESC_RD_NAV_EXT(txdesc, value)
  1915. #define GET_TX_DESC_RD_NAV_EXT_8822C(txdesc) GET_TX_DESC_RD_NAV_EXT(txdesc)
  1916. #define SET_TX_DESC_QSEL_8822C(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
  1917. #define GET_TX_DESC_QSEL_8822C(txdesc) GET_TX_DESC_QSEL(txdesc)
  1918. #define SET_TX_DESC_MACID_8822C(txdesc, value) SET_TX_DESC_MACID(txdesc, value)
  1919. #define GET_TX_DESC_MACID_8822C(txdesc) GET_TX_DESC_MACID(txdesc)
  1920. /*TXDESC_WORD2*/
  1921. #define SET_TX_DESC_HW_AES_IV_8822C(txdesc, value) \
  1922. SET_TX_DESC_HW_AES_IV(txdesc, value)
  1923. #define GET_TX_DESC_HW_AES_IV_8822C(txdesc) GET_TX_DESC_HW_AES_IV(txdesc)
  1924. #define SET_TX_DESC_FTM_EN_8822C(txdesc, value) \
  1925. SET_TX_DESC_FTM_EN(txdesc, value)
  1926. #define GET_TX_DESC_FTM_EN_8822C(txdesc) GET_TX_DESC_FTM_EN(txdesc)
  1927. #define SET_TX_DESC_G_ID_8822C(txdesc, value) SET_TX_DESC_G_ID(txdesc, value)
  1928. #define GET_TX_DESC_G_ID_8822C(txdesc) GET_TX_DESC_G_ID(txdesc)
  1929. #define SET_TX_DESC_BT_NULL_8822C(txdesc, value) \
  1930. SET_TX_DESC_BT_NULL(txdesc, value)
  1931. #define GET_TX_DESC_BT_NULL_8822C(txdesc) GET_TX_DESC_BT_NULL(txdesc)
  1932. #define SET_TX_DESC_AMPDU_DENSITY_8822C(txdesc, value) \
  1933. SET_TX_DESC_AMPDU_DENSITY(txdesc, value)
  1934. #define GET_TX_DESC_AMPDU_DENSITY_8822C(txdesc) \
  1935. GET_TX_DESC_AMPDU_DENSITY(txdesc)
  1936. #define SET_TX_DESC_SPE_RPT_8822C(txdesc, value) \
  1937. SET_TX_DESC_SPE_RPT(txdesc, value)
  1938. #define GET_TX_DESC_SPE_RPT_8822C(txdesc) GET_TX_DESC_SPE_RPT(txdesc)
  1939. #define SET_TX_DESC_RAW_8822C(txdesc, value) SET_TX_DESC_RAW(txdesc, value)
  1940. #define GET_TX_DESC_RAW_8822C(txdesc) GET_TX_DESC_RAW(txdesc)
  1941. #define SET_TX_DESC_MOREFRAG_8822C(txdesc, value) \
  1942. SET_TX_DESC_MOREFRAG(txdesc, value)
  1943. #define GET_TX_DESC_MOREFRAG_8822C(txdesc) GET_TX_DESC_MOREFRAG(txdesc)
  1944. #define SET_TX_DESC_BK_8822C(txdesc, value) SET_TX_DESC_BK(txdesc, value)
  1945. #define GET_TX_DESC_BK_8822C(txdesc) GET_TX_DESC_BK(txdesc)
  1946. #define SET_TX_DESC_NULL_1_8822C(txdesc, value) \
  1947. SET_TX_DESC_NULL_1(txdesc, value)
  1948. #define GET_TX_DESC_NULL_1_8822C(txdesc) GET_TX_DESC_NULL_1(txdesc)
  1949. #define SET_TX_DESC_NULL_0_8822C(txdesc, value) \
  1950. SET_TX_DESC_NULL_0(txdesc, value)
  1951. #define GET_TX_DESC_NULL_0_8822C(txdesc) GET_TX_DESC_NULL_0(txdesc)
  1952. #define SET_TX_DESC_RDG_EN_8822C(txdesc, value) \
  1953. SET_TX_DESC_RDG_EN(txdesc, value)
  1954. #define GET_TX_DESC_RDG_EN_8822C(txdesc) GET_TX_DESC_RDG_EN(txdesc)
  1955. #define SET_TX_DESC_AGG_EN_8822C(txdesc, value) \
  1956. SET_TX_DESC_AGG_EN(txdesc, value)
  1957. #define GET_TX_DESC_AGG_EN_8822C(txdesc) GET_TX_DESC_AGG_EN(txdesc)
  1958. #define SET_TX_DESC_CCA_RTS_8822C(txdesc, value) \
  1959. SET_TX_DESC_CCA_RTS(txdesc, value)
  1960. #define GET_TX_DESC_CCA_RTS_8822C(txdesc) GET_TX_DESC_CCA_RTS(txdesc)
  1961. #define SET_TX_DESC_TRI_FRAME_8822C(txdesc, value) \
  1962. SET_TX_DESC_TRI_FRAME(txdesc, value)
  1963. #define GET_TX_DESC_TRI_FRAME_8822C(txdesc) GET_TX_DESC_TRI_FRAME(txdesc)
  1964. #define SET_TX_DESC_P_AID_8822C(txdesc, value) SET_TX_DESC_P_AID(txdesc, value)
  1965. #define GET_TX_DESC_P_AID_8822C(txdesc) GET_TX_DESC_P_AID(txdesc)
  1966. /*TXDESC_WORD3*/
  1967. #define SET_TX_DESC_AMPDU_MAX_TIME_8822C(txdesc, value) \
  1968. SET_TX_DESC_AMPDU_MAX_TIME(txdesc, value)
  1969. #define GET_TX_DESC_AMPDU_MAX_TIME_8822C(txdesc) \
  1970. GET_TX_DESC_AMPDU_MAX_TIME(txdesc)
  1971. #define SET_TX_DESC_NDPA_8822C(txdesc, value) SET_TX_DESC_NDPA(txdesc, value)
  1972. #define GET_TX_DESC_NDPA_8822C(txdesc) GET_TX_DESC_NDPA(txdesc)
  1973. #define SET_TX_DESC_MAX_AGG_NUM_8822C(txdesc, value) \
  1974. SET_TX_DESC_MAX_AGG_NUM(txdesc, value)
  1975. #define GET_TX_DESC_MAX_AGG_NUM_8822C(txdesc) GET_TX_DESC_MAX_AGG_NUM(txdesc)
  1976. #define SET_TX_DESC_USE_MAX_TIME_EN_8822C(txdesc, value) \
  1977. SET_TX_DESC_USE_MAX_TIME_EN(txdesc, value)
  1978. #define GET_TX_DESC_USE_MAX_TIME_EN_8822C(txdesc) \
  1979. GET_TX_DESC_USE_MAX_TIME_EN(txdesc)
  1980. #define SET_TX_DESC_NAVUSEHDR_8822C(txdesc, value) \
  1981. SET_TX_DESC_NAVUSEHDR(txdesc, value)
  1982. #define GET_TX_DESC_NAVUSEHDR_8822C(txdesc) GET_TX_DESC_NAVUSEHDR(txdesc)
  1983. #define SET_TX_DESC_CHK_EN_8822C(txdesc, value) \
  1984. SET_TX_DESC_CHK_EN(txdesc, value)
  1985. #define GET_TX_DESC_CHK_EN_8822C(txdesc) GET_TX_DESC_CHK_EN(txdesc)
  1986. #define SET_TX_DESC_HW_RTS_EN_8822C(txdesc, value) \
  1987. SET_TX_DESC_HW_RTS_EN(txdesc, value)
  1988. #define GET_TX_DESC_HW_RTS_EN_8822C(txdesc) GET_TX_DESC_HW_RTS_EN(txdesc)
  1989. #define SET_TX_DESC_RTSEN_8822C(txdesc, value) SET_TX_DESC_RTSEN(txdesc, value)
  1990. #define GET_TX_DESC_RTSEN_8822C(txdesc) GET_TX_DESC_RTSEN(txdesc)
  1991. #define SET_TX_DESC_CTS2SELF_8822C(txdesc, value) \
  1992. SET_TX_DESC_CTS2SELF(txdesc, value)
  1993. #define GET_TX_DESC_CTS2SELF_8822C(txdesc) GET_TX_DESC_CTS2SELF(txdesc)
  1994. #define SET_TX_DESC_DISDATAFB_8822C(txdesc, value) \
  1995. SET_TX_DESC_DISDATAFB(txdesc, value)
  1996. #define GET_TX_DESC_DISDATAFB_8822C(txdesc) GET_TX_DESC_DISDATAFB(txdesc)
  1997. #define SET_TX_DESC_DISRTSFB_8822C(txdesc, value) \
  1998. SET_TX_DESC_DISRTSFB(txdesc, value)
  1999. #define GET_TX_DESC_DISRTSFB_8822C(txdesc) GET_TX_DESC_DISRTSFB(txdesc)
  2000. #define SET_TX_DESC_USE_RATE_8822C(txdesc, value) \
  2001. SET_TX_DESC_USE_RATE(txdesc, value)
  2002. #define GET_TX_DESC_USE_RATE_8822C(txdesc) GET_TX_DESC_USE_RATE(txdesc)
  2003. #define SET_TX_DESC_HW_SSN_SEL_8822C(txdesc, value) \
  2004. SET_TX_DESC_HW_SSN_SEL(txdesc, value)
  2005. #define GET_TX_DESC_HW_SSN_SEL_8822C(txdesc) GET_TX_DESC_HW_SSN_SEL(txdesc)
  2006. #define SET_TX_DESC_WHEADER_LEN_8822C(txdesc, value) \
  2007. SET_TX_DESC_WHEADER_LEN(txdesc, value)
  2008. #define GET_TX_DESC_WHEADER_LEN_8822C(txdesc) GET_TX_DESC_WHEADER_LEN(txdesc)
  2009. /*TXDESC_WORD4*/
  2010. #define SET_TX_DESC_PCTS_MASK_IDX_8822C(txdesc, value) \
  2011. SET_TX_DESC_PCTS_MASK_IDX(txdesc, value)
  2012. #define GET_TX_DESC_PCTS_MASK_IDX_8822C(txdesc) \
  2013. GET_TX_DESC_PCTS_MASK_IDX(txdesc)
  2014. #define SET_TX_DESC_PCTS_EN_8822C(txdesc, value) \
  2015. SET_TX_DESC_PCTS_EN(txdesc, value)
  2016. #define GET_TX_DESC_PCTS_EN_8822C(txdesc) GET_TX_DESC_PCTS_EN(txdesc)
  2017. #define SET_TX_DESC_RTSRATE_8822C(txdesc, value) \
  2018. SET_TX_DESC_RTSRATE(txdesc, value)
  2019. #define GET_TX_DESC_RTSRATE_8822C(txdesc) GET_TX_DESC_RTSRATE(txdesc)
  2020. #define SET_TX_DESC_RTS_DATA_RTY_LMT_8822C(txdesc, value) \
  2021. SET_TX_DESC_RTS_DATA_RTY_LMT(txdesc, value)
  2022. #define GET_TX_DESC_RTS_DATA_RTY_LMT_8822C(txdesc) \
  2023. GET_TX_DESC_RTS_DATA_RTY_LMT(txdesc)
  2024. #define SET_TX_DESC_RTY_LMT_EN_8822C(txdesc, value) \
  2025. SET_TX_DESC_RTY_LMT_EN(txdesc, value)
  2026. #define GET_TX_DESC_RTY_LMT_EN_8822C(txdesc) GET_TX_DESC_RTY_LMT_EN(txdesc)
  2027. #define SET_TX_DESC_RTS_RTY_LOWEST_RATE_8822C(txdesc, value) \
  2028. SET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc, value)
  2029. #define GET_TX_DESC_RTS_RTY_LOWEST_RATE_8822C(txdesc) \
  2030. GET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc)
  2031. #define SET_TX_DESC_DATA_RTY_LOWEST_RATE_8822C(txdesc, value) \
  2032. SET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc, value)
  2033. #define GET_TX_DESC_DATA_RTY_LOWEST_RATE_8822C(txdesc) \
  2034. GET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc)
  2035. #define SET_TX_DESC_TRY_RATE_8822C(txdesc, value) \
  2036. SET_TX_DESC_TRY_RATE(txdesc, value)
  2037. #define GET_TX_DESC_TRY_RATE_8822C(txdesc) GET_TX_DESC_TRY_RATE(txdesc)
  2038. #define SET_TX_DESC_DATARATE_8822C(txdesc, value) \
  2039. SET_TX_DESC_DATARATE(txdesc, value)
  2040. #define GET_TX_DESC_DATARATE_8822C(txdesc) GET_TX_DESC_DATARATE(txdesc)
  2041. /*TXDESC_WORD5*/
  2042. #define SET_TX_DESC_POLLUTED_8822C(txdesc, value) \
  2043. SET_TX_DESC_POLLUTED(txdesc, value)
  2044. #define GET_TX_DESC_POLLUTED_8822C(txdesc) GET_TX_DESC_POLLUTED(txdesc)
  2045. #define SET_TX_DESC_ANTSEL_EN_8822C(txdesc, value) \
  2046. SET_TX_DESC_ANTSEL_EN_V1(txdesc, value)
  2047. #define GET_TX_DESC_ANTSEL_EN_8822C(txdesc) GET_TX_DESC_ANTSEL_EN_V1(txdesc)
  2048. #define SET_TX_DESC_TXPWR_OFSET_TYPE_8822C(txdesc, value) \
  2049. SET_TX_DESC_TXPWR_OFSET_TYPE(txdesc, value)
  2050. #define GET_TX_DESC_TXPWR_OFSET_TYPE_8822C(txdesc) \
  2051. GET_TX_DESC_TXPWR_OFSET_TYPE(txdesc)
  2052. #define SET_TX_DESC_TX_ANT_8822C(txdesc, value) \
  2053. SET_TX_DESC_TX_ANT(txdesc, value)
  2054. #define GET_TX_DESC_TX_ANT_8822C(txdesc) GET_TX_DESC_TX_ANT(txdesc)
  2055. #define SET_TX_DESC_PORT_ID_8822C(txdesc, value) \
  2056. SET_TX_DESC_PORT_ID(txdesc, value)
  2057. #define GET_TX_DESC_PORT_ID_8822C(txdesc) GET_TX_DESC_PORT_ID(txdesc)
  2058. #define SET_TX_DESC_MULTIPLE_PORT_8822C(txdesc, value) \
  2059. SET_TX_DESC_MULTIPLE_PORT(txdesc, value)
  2060. #define GET_TX_DESC_MULTIPLE_PORT_8822C(txdesc) \
  2061. GET_TX_DESC_MULTIPLE_PORT(txdesc)
  2062. #define SET_TX_DESC_SIGNALING_TAPKT_EN_8822C(txdesc, value) \
  2063. SET_TX_DESC_SIGNALING_TAPKT_EN(txdesc, value)
  2064. #define GET_TX_DESC_SIGNALING_TAPKT_EN_8822C(txdesc) \
  2065. GET_TX_DESC_SIGNALING_TAPKT_EN(txdesc)
  2066. #define SET_TX_DESC_SIGNALING_TA_PKT_SC_8822C(txdesc, value) \
  2067. SET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc, value)
  2068. #define GET_TX_DESC_SIGNALING_TA_PKT_SC_8822C(txdesc) \
  2069. GET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc)
  2070. #define SET_TX_DESC_RTS_SHORT_8822C(txdesc, value) \
  2071. SET_TX_DESC_RTS_SHORT(txdesc, value)
  2072. #define GET_TX_DESC_RTS_SHORT_8822C(txdesc) GET_TX_DESC_RTS_SHORT(txdesc)
  2073. #define SET_TX_DESC_VCS_STBC_8822C(txdesc, value) \
  2074. SET_TX_DESC_VCS_STBC(txdesc, value)
  2075. #define GET_TX_DESC_VCS_STBC_8822C(txdesc) GET_TX_DESC_VCS_STBC(txdesc)
  2076. #define SET_TX_DESC_DATA_STBC_8822C(txdesc, value) \
  2077. SET_TX_DESC_DATA_STBC(txdesc, value)
  2078. #define GET_TX_DESC_DATA_STBC_8822C(txdesc) GET_TX_DESC_DATA_STBC(txdesc)
  2079. #define SET_TX_DESC_DATA_LDPC_8822C(txdesc, value) \
  2080. SET_TX_DESC_DATA_LDPC(txdesc, value)
  2081. #define GET_TX_DESC_DATA_LDPC_8822C(txdesc) GET_TX_DESC_DATA_LDPC(txdesc)
  2082. #define SET_TX_DESC_DATA_BW_8822C(txdesc, value) \
  2083. SET_TX_DESC_DATA_BW(txdesc, value)
  2084. #define GET_TX_DESC_DATA_BW_8822C(txdesc) GET_TX_DESC_DATA_BW(txdesc)
  2085. #define SET_TX_DESC_DATA_SHORT_8822C(txdesc, value) \
  2086. SET_TX_DESC_DATA_SHORT(txdesc, value)
  2087. #define GET_TX_DESC_DATA_SHORT_8822C(txdesc) GET_TX_DESC_DATA_SHORT(txdesc)
  2088. #define SET_TX_DESC_DATA_SC_8822C(txdesc, value) \
  2089. SET_TX_DESC_DATA_SC(txdesc, value)
  2090. #define GET_TX_DESC_DATA_SC_8822C(txdesc) GET_TX_DESC_DATA_SC(txdesc)
  2091. /*TXDESC_WORD6*/
  2092. #define SET_TX_DESC_ANTSEL_D_8822C(txdesc, value) \
  2093. SET_TX_DESC_ANTSEL_D(txdesc, value)
  2094. #define GET_TX_DESC_ANTSEL_D_8822C(txdesc) GET_TX_DESC_ANTSEL_D(txdesc)
  2095. #define SET_TX_DESC_ANT_MAPD_8822C(txdesc, value) \
  2096. SET_TX_DESC_ANT_MAPD(txdesc, value)
  2097. #define GET_TX_DESC_ANT_MAPD_8822C(txdesc) GET_TX_DESC_ANT_MAPD(txdesc)
  2098. #define SET_TX_DESC_ANT_MAPC_8822C(txdesc, value) \
  2099. SET_TX_DESC_ANT_MAPC(txdesc, value)
  2100. #define GET_TX_DESC_ANT_MAPC_8822C(txdesc) GET_TX_DESC_ANT_MAPC(txdesc)
  2101. #define SET_TX_DESC_ANT_MAPB_8822C(txdesc, value) \
  2102. SET_TX_DESC_ANT_MAPB(txdesc, value)
  2103. #define GET_TX_DESC_ANT_MAPB_8822C(txdesc) GET_TX_DESC_ANT_MAPB(txdesc)
  2104. #define SET_TX_DESC_ANT_MAPA_8822C(txdesc, value) \
  2105. SET_TX_DESC_ANT_MAPA(txdesc, value)
  2106. #define GET_TX_DESC_ANT_MAPA_8822C(txdesc) GET_TX_DESC_ANT_MAPA(txdesc)
  2107. #define SET_TX_DESC_ANTSEL_C_8822C(txdesc, value) \
  2108. SET_TX_DESC_ANTSEL_C(txdesc, value)
  2109. #define GET_TX_DESC_ANTSEL_C_8822C(txdesc) GET_TX_DESC_ANTSEL_C(txdesc)
  2110. #define SET_TX_DESC_ANTSEL_B_8822C(txdesc, value) \
  2111. SET_TX_DESC_ANTSEL_B(txdesc, value)
  2112. #define GET_TX_DESC_ANTSEL_B_8822C(txdesc) GET_TX_DESC_ANTSEL_B(txdesc)
  2113. #define SET_TX_DESC_ANTSEL_A_8822C(txdesc, value) \
  2114. SET_TX_DESC_ANTSEL_A(txdesc, value)
  2115. #define GET_TX_DESC_ANTSEL_A_8822C(txdesc) GET_TX_DESC_ANTSEL_A(txdesc)
  2116. #define SET_TX_DESC_MBSSID_8822C(txdesc, value) \
  2117. SET_TX_DESC_MBSSID(txdesc, value)
  2118. #define GET_TX_DESC_MBSSID_8822C(txdesc) GET_TX_DESC_MBSSID(txdesc)
  2119. #define SET_TX_DESC_SW_DEFINE_8822C(txdesc, value) \
  2120. SET_TX_DESC_SW_DEFINE(txdesc, value)
  2121. #define GET_TX_DESC_SW_DEFINE_8822C(txdesc) GET_TX_DESC_SW_DEFINE(txdesc)
  2122. /*TXDESC_WORD7*/
  2123. #define SET_TX_DESC_DMA_TXAGG_NUM_8822C(txdesc, value) \
  2124. SET_TX_DESC_DMA_TXAGG_NUM(txdesc, value)
  2125. #define GET_TX_DESC_DMA_TXAGG_NUM_8822C(txdesc) \
  2126. GET_TX_DESC_DMA_TXAGG_NUM(txdesc)
  2127. #define SET_TX_DESC_FINAL_DATA_RATE_8822C(txdesc, value) \
  2128. SET_TX_DESC_FINAL_DATA_RATE(txdesc, value)
  2129. #define GET_TX_DESC_FINAL_DATA_RATE_8822C(txdesc) \
  2130. GET_TX_DESC_FINAL_DATA_RATE(txdesc)
  2131. #define SET_TX_DESC_NTX_MAP_8822C(txdesc, value) \
  2132. SET_TX_DESC_NTX_MAP(txdesc, value)
  2133. #define GET_TX_DESC_NTX_MAP_8822C(txdesc) GET_TX_DESC_NTX_MAP(txdesc)
  2134. #define SET_TX_DESC_TX_BUFF_SIZE_8822C(txdesc, value) \
  2135. SET_TX_DESC_TX_BUFF_SIZE(txdesc, value)
  2136. #define GET_TX_DESC_TX_BUFF_SIZE_8822C(txdesc) GET_TX_DESC_TX_BUFF_SIZE(txdesc)
  2137. #define SET_TX_DESC_TXDESC_CHECKSUM_8822C(txdesc, value) \
  2138. SET_TX_DESC_TXDESC_CHECKSUM(txdesc, value)
  2139. #define GET_TX_DESC_TXDESC_CHECKSUM_8822C(txdesc) \
  2140. GET_TX_DESC_TXDESC_CHECKSUM(txdesc)
  2141. #define SET_TX_DESC_TIMESTAMP_8822C(txdesc, value) \
  2142. SET_TX_DESC_TIMESTAMP(txdesc, value)
  2143. #define GET_TX_DESC_TIMESTAMP_8822C(txdesc) GET_TX_DESC_TIMESTAMP(txdesc)
  2144. /*TXDESC_WORD8*/
  2145. #define SET_TX_DESC_TXWIFI_CP_8822C(txdesc, value) \
  2146. SET_TX_DESC_TXWIFI_CP(txdesc, value)
  2147. #define GET_TX_DESC_TXWIFI_CP_8822C(txdesc) GET_TX_DESC_TXWIFI_CP(txdesc)
  2148. #define SET_TX_DESC_MAC_CP_8822C(txdesc, value) \
  2149. SET_TX_DESC_MAC_CP(txdesc, value)
  2150. #define GET_TX_DESC_MAC_CP_8822C(txdesc) GET_TX_DESC_MAC_CP(txdesc)
  2151. #define SET_TX_DESC_STW_PKTRE_DIS_8822C(txdesc, value) \
  2152. SET_TX_DESC_STW_PKTRE_DIS(txdesc, value)
  2153. #define GET_TX_DESC_STW_PKTRE_DIS_8822C(txdesc) \
  2154. GET_TX_DESC_STW_PKTRE_DIS(txdesc)
  2155. #define SET_TX_DESC_STW_RB_DIS_8822C(txdesc, value) \
  2156. SET_TX_DESC_STW_RB_DIS(txdesc, value)
  2157. #define GET_TX_DESC_STW_RB_DIS_8822C(txdesc) GET_TX_DESC_STW_RB_DIS(txdesc)
  2158. #define SET_TX_DESC_STW_RATE_DIS_8822C(txdesc, value) \
  2159. SET_TX_DESC_STW_RATE_DIS(txdesc, value)
  2160. #define GET_TX_DESC_STW_RATE_DIS_8822C(txdesc) GET_TX_DESC_STW_RATE_DIS(txdesc)
  2161. #define SET_TX_DESC_STW_ANT_DIS_8822C(txdesc, value) \
  2162. SET_TX_DESC_STW_ANT_DIS(txdesc, value)
  2163. #define GET_TX_DESC_STW_ANT_DIS_8822C(txdesc) GET_TX_DESC_STW_ANT_DIS(txdesc)
  2164. #define SET_TX_DESC_STW_EN_8822C(txdesc, value) \
  2165. SET_TX_DESC_STW_EN(txdesc, value)
  2166. #define GET_TX_DESC_STW_EN_8822C(txdesc) GET_TX_DESC_STW_EN(txdesc)
  2167. #define SET_TX_DESC_SMH_EN_8822C(txdesc, value) \
  2168. SET_TX_DESC_SMH_EN(txdesc, value)
  2169. #define GET_TX_DESC_SMH_EN_8822C(txdesc) GET_TX_DESC_SMH_EN(txdesc)
  2170. #define SET_TX_DESC_TAILPAGE_L_8822C(txdesc, value) \
  2171. SET_TX_DESC_TAILPAGE_L(txdesc, value)
  2172. #define GET_TX_DESC_TAILPAGE_L_8822C(txdesc) GET_TX_DESC_TAILPAGE_L(txdesc)
  2173. #define SET_TX_DESC_SDIO_DMASEQ_8822C(txdesc, value) \
  2174. SET_TX_DESC_SDIO_DMASEQ(txdesc, value)
  2175. #define GET_TX_DESC_SDIO_DMASEQ_8822C(txdesc) GET_TX_DESC_SDIO_DMASEQ(txdesc)
  2176. #define SET_TX_DESC_NEXTHEADPAGE_L_8822C(txdesc, value) \
  2177. SET_TX_DESC_NEXTHEADPAGE_L(txdesc, value)
  2178. #define GET_TX_DESC_NEXTHEADPAGE_L_8822C(txdesc) \
  2179. GET_TX_DESC_NEXTHEADPAGE_L(txdesc)
  2180. #define SET_TX_DESC_EN_HWSEQ_8822C(txdesc, value) \
  2181. SET_TX_DESC_EN_HWSEQ(txdesc, value)
  2182. #define GET_TX_DESC_EN_HWSEQ_8822C(txdesc) GET_TX_DESC_EN_HWSEQ(txdesc)
  2183. #define SET_TX_DESC_EN_HWEXSEQ_8822C(txdesc, value) \
  2184. SET_TX_DESC_EN_HWEXSEQ(txdesc, value)
  2185. #define GET_TX_DESC_EN_HWEXSEQ_8822C(txdesc) GET_TX_DESC_EN_HWEXSEQ(txdesc)
  2186. #define SET_TX_DESC_DATA_RC_8822C(txdesc, value) \
  2187. SET_TX_DESC_DATA_RC(txdesc, value)
  2188. #define GET_TX_DESC_DATA_RC_8822C(txdesc) GET_TX_DESC_DATA_RC(txdesc)
  2189. #define SET_TX_DESC_BAR_RTY_TH_8822C(txdesc, value) \
  2190. SET_TX_DESC_BAR_RTY_TH(txdesc, value)
  2191. #define GET_TX_DESC_BAR_RTY_TH_8822C(txdesc) GET_TX_DESC_BAR_RTY_TH(txdesc)
  2192. #define SET_TX_DESC_RTS_RC_8822C(txdesc, value) \
  2193. SET_TX_DESC_RTS_RC(txdesc, value)
  2194. #define GET_TX_DESC_RTS_RC_8822C(txdesc) GET_TX_DESC_RTS_RC(txdesc)
  2195. /*TXDESC_WORD9*/
  2196. #define SET_TX_DESC_TAILPAGE_H_8822C(txdesc, value) \
  2197. SET_TX_DESC_TAILPAGE_H(txdesc, value)
  2198. #define GET_TX_DESC_TAILPAGE_H_8822C(txdesc) GET_TX_DESC_TAILPAGE_H(txdesc)
  2199. #define SET_TX_DESC_NEXTHEADPAGE_H_8822C(txdesc, value) \
  2200. SET_TX_DESC_NEXTHEADPAGE_H(txdesc, value)
  2201. #define GET_TX_DESC_NEXTHEADPAGE_H_8822C(txdesc) \
  2202. GET_TX_DESC_NEXTHEADPAGE_H(txdesc)
  2203. #define SET_TX_DESC_SW_SEQ_8822C(txdesc, value) \
  2204. SET_TX_DESC_SW_SEQ(txdesc, value)
  2205. #define GET_TX_DESC_SW_SEQ_8822C(txdesc) GET_TX_DESC_SW_SEQ(txdesc)
  2206. #define SET_TX_DESC_TXBF_PATH_8822C(txdesc, value) \
  2207. SET_TX_DESC_TXBF_PATH(txdesc, value)
  2208. #define GET_TX_DESC_TXBF_PATH_8822C(txdesc) GET_TX_DESC_TXBF_PATH(txdesc)
  2209. #define SET_TX_DESC_PADDING_LEN_8822C(txdesc, value) \
  2210. SET_TX_DESC_PADDING_LEN(txdesc, value)
  2211. #define GET_TX_DESC_PADDING_LEN_8822C(txdesc) GET_TX_DESC_PADDING_LEN(txdesc)
  2212. #define SET_TX_DESC_GROUP_BIT_IE_OFFSET_8822C(txdesc, value) \
  2213. SET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc, value)
  2214. #define GET_TX_DESC_GROUP_BIT_IE_OFFSET_8822C(txdesc) \
  2215. GET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc)
  2216. /*WORD10*/
  2217. #define SET_TX_DESC_MU_DATARATE_8822C(txdesc, value) \
  2218. SET_TX_DESC_MU_DATARATE(txdesc, value)
  2219. #define GET_TX_DESC_MU_DATARATE_8822C(txdesc) GET_TX_DESC_MU_DATARATE(txdesc)
  2220. #define SET_TX_DESC_MU_RC_8822C(txdesc, value) SET_TX_DESC_MU_RC(txdesc, value)
  2221. #define GET_TX_DESC_MU_RC_8822C(txdesc) GET_TX_DESC_MU_RC(txdesc)
  2222. #define SET_TX_DESC_SND_PKT_SEL_8822C(txdesc, value) \
  2223. SET_TX_DESC_SND_PKT_SEL(txdesc, value)
  2224. #define GET_TX_DESC_SND_PKT_SEL_8822C(txdesc) GET_TX_DESC_SND_PKT_SEL(txdesc)
  2225. #endif
  2226. #if (HALMAC_8812F_SUPPORT)
  2227. /*TXDESC_WORD0*/
  2228. #define SET_TX_DESC_DISQSELSEQ_8812F(txdesc, value) \
  2229. SET_TX_DESC_DISQSELSEQ(txdesc, value)
  2230. #define GET_TX_DESC_DISQSELSEQ_8812F(txdesc) GET_TX_DESC_DISQSELSEQ(txdesc)
  2231. #define SET_TX_DESC_GF_8812F(txdesc, value) SET_TX_DESC_GF(txdesc, value)
  2232. #define GET_TX_DESC_GF_8812F(txdesc) GET_TX_DESC_GF(txdesc)
  2233. #define SET_TX_DESC_NO_ACM_8812F(txdesc, value) \
  2234. SET_TX_DESC_NO_ACM(txdesc, value)
  2235. #define GET_TX_DESC_NO_ACM_8812F(txdesc) GET_TX_DESC_NO_ACM(txdesc)
  2236. #define SET_TX_DESC_BCNPKT_TSF_CTRL_8812F(txdesc, value) \
  2237. SET_TX_DESC_BCNPKT_TSF_CTRL(txdesc, value)
  2238. #define GET_TX_DESC_BCNPKT_TSF_CTRL_8812F(txdesc) \
  2239. GET_TX_DESC_BCNPKT_TSF_CTRL(txdesc)
  2240. #define SET_TX_DESC_AMSDU_PAD_EN_8812F(txdesc, value) \
  2241. SET_TX_DESC_AMSDU_PAD_EN(txdesc, value)
  2242. #define GET_TX_DESC_AMSDU_PAD_EN_8812F(txdesc) GET_TX_DESC_AMSDU_PAD_EN(txdesc)
  2243. #define SET_TX_DESC_LS_8812F(txdesc, value) SET_TX_DESC_LS(txdesc, value)
  2244. #define GET_TX_DESC_LS_8812F(txdesc) GET_TX_DESC_LS(txdesc)
  2245. #define SET_TX_DESC_HTC_8812F(txdesc, value) SET_TX_DESC_HTC(txdesc, value)
  2246. #define GET_TX_DESC_HTC_8812F(txdesc) GET_TX_DESC_HTC(txdesc)
  2247. #define SET_TX_DESC_BMC_8812F(txdesc, value) SET_TX_DESC_BMC(txdesc, value)
  2248. #define GET_TX_DESC_BMC_8812F(txdesc) GET_TX_DESC_BMC(txdesc)
  2249. #define SET_TX_DESC_OFFSET_8812F(txdesc, value) \
  2250. SET_TX_DESC_OFFSET(txdesc, value)
  2251. #define GET_TX_DESC_OFFSET_8812F(txdesc) GET_TX_DESC_OFFSET(txdesc)
  2252. #define SET_TX_DESC_TXPKTSIZE_8812F(txdesc, value) \
  2253. SET_TX_DESC_TXPKTSIZE(txdesc, value)
  2254. #define GET_TX_DESC_TXPKTSIZE_8812F(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
  2255. /*WORD1*/
  2256. #define SET_TX_DESC_MOREDATA_8812F(txdesc, value) \
  2257. SET_TX_DESC_MOREDATA(txdesc, value)
  2258. #define GET_TX_DESC_MOREDATA_8812F(txdesc) GET_TX_DESC_MOREDATA(txdesc)
  2259. #define SET_TX_DESC_PKT_OFFSET_8812F(txdesc, value) \
  2260. SET_TX_DESC_PKT_OFFSET(txdesc, value)
  2261. #define GET_TX_DESC_PKT_OFFSET_8812F(txdesc) GET_TX_DESC_PKT_OFFSET(txdesc)
  2262. #define SET_TX_DESC_SEC_TYPE_8812F(txdesc, value) \
  2263. SET_TX_DESC_SEC_TYPE(txdesc, value)
  2264. #define GET_TX_DESC_SEC_TYPE_8812F(txdesc) GET_TX_DESC_SEC_TYPE(txdesc)
  2265. #define SET_TX_DESC_EN_DESC_ID_8812F(txdesc, value) \
  2266. SET_TX_DESC_EN_DESC_ID(txdesc, value)
  2267. #define GET_TX_DESC_EN_DESC_ID_8812F(txdesc) GET_TX_DESC_EN_DESC_ID(txdesc)
  2268. #define SET_TX_DESC_RATE_ID_8812F(txdesc, value) \
  2269. SET_TX_DESC_RATE_ID(txdesc, value)
  2270. #define GET_TX_DESC_RATE_ID_8812F(txdesc) GET_TX_DESC_RATE_ID(txdesc)
  2271. #define SET_TX_DESC_PIFS_8812F(txdesc, value) SET_TX_DESC_PIFS(txdesc, value)
  2272. #define GET_TX_DESC_PIFS_8812F(txdesc) GET_TX_DESC_PIFS(txdesc)
  2273. #define SET_TX_DESC_LSIG_TXOP_EN_8812F(txdesc, value) \
  2274. SET_TX_DESC_LSIG_TXOP_EN(txdesc, value)
  2275. #define GET_TX_DESC_LSIG_TXOP_EN_8812F(txdesc) GET_TX_DESC_LSIG_TXOP_EN(txdesc)
  2276. #define SET_TX_DESC_RD_NAV_EXT_8812F(txdesc, value) \
  2277. SET_TX_DESC_RD_NAV_EXT(txdesc, value)
  2278. #define GET_TX_DESC_RD_NAV_EXT_8812F(txdesc) GET_TX_DESC_RD_NAV_EXT(txdesc)
  2279. #define SET_TX_DESC_QSEL_8812F(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
  2280. #define GET_TX_DESC_QSEL_8812F(txdesc) GET_TX_DESC_QSEL(txdesc)
  2281. #define SET_TX_DESC_MACID_8812F(txdesc, value) SET_TX_DESC_MACID(txdesc, value)
  2282. #define GET_TX_DESC_MACID_8812F(txdesc) GET_TX_DESC_MACID(txdesc)
  2283. /*TXDESC_WORD2*/
  2284. #define SET_TX_DESC_HW_AES_IV_8812F(txdesc, value) \
  2285. SET_TX_DESC_HW_AES_IV(txdesc, value)
  2286. #define GET_TX_DESC_HW_AES_IV_8812F(txdesc) GET_TX_DESC_HW_AES_IV(txdesc)
  2287. #define SET_TX_DESC_FTM_EN_8812F(txdesc, value) \
  2288. SET_TX_DESC_FTM_EN(txdesc, value)
  2289. #define GET_TX_DESC_FTM_EN_8812F(txdesc) GET_TX_DESC_FTM_EN(txdesc)
  2290. #define SET_TX_DESC_G_ID_8812F(txdesc, value) SET_TX_DESC_G_ID(txdesc, value)
  2291. #define GET_TX_DESC_G_ID_8812F(txdesc) GET_TX_DESC_G_ID(txdesc)
  2292. #define SET_TX_DESC_BT_NULL_8812F(txdesc, value) \
  2293. SET_TX_DESC_BT_NULL(txdesc, value)
  2294. #define GET_TX_DESC_BT_NULL_8812F(txdesc) GET_TX_DESC_BT_NULL(txdesc)
  2295. #define SET_TX_DESC_AMPDU_DENSITY_8812F(txdesc, value) \
  2296. SET_TX_DESC_AMPDU_DENSITY(txdesc, value)
  2297. #define GET_TX_DESC_AMPDU_DENSITY_8812F(txdesc) \
  2298. GET_TX_DESC_AMPDU_DENSITY(txdesc)
  2299. #define SET_TX_DESC_SPE_RPT_8812F(txdesc, value) \
  2300. SET_TX_DESC_SPE_RPT(txdesc, value)
  2301. #define GET_TX_DESC_SPE_RPT_8812F(txdesc) GET_TX_DESC_SPE_RPT(txdesc)
  2302. #define SET_TX_DESC_RAW_8812F(txdesc, value) SET_TX_DESC_RAW(txdesc, value)
  2303. #define GET_TX_DESC_RAW_8812F(txdesc) GET_TX_DESC_RAW(txdesc)
  2304. #define SET_TX_DESC_MOREFRAG_8812F(txdesc, value) \
  2305. SET_TX_DESC_MOREFRAG(txdesc, value)
  2306. #define GET_TX_DESC_MOREFRAG_8812F(txdesc) GET_TX_DESC_MOREFRAG(txdesc)
  2307. #define SET_TX_DESC_BK_8812F(txdesc, value) SET_TX_DESC_BK(txdesc, value)
  2308. #define GET_TX_DESC_BK_8812F(txdesc) GET_TX_DESC_BK(txdesc)
  2309. #define SET_TX_DESC_NULL_1_8812F(txdesc, value) \
  2310. SET_TX_DESC_NULL_1(txdesc, value)
  2311. #define GET_TX_DESC_NULL_1_8812F(txdesc) GET_TX_DESC_NULL_1(txdesc)
  2312. #define SET_TX_DESC_NULL_0_8812F(txdesc, value) \
  2313. SET_TX_DESC_NULL_0(txdesc, value)
  2314. #define GET_TX_DESC_NULL_0_8812F(txdesc) GET_TX_DESC_NULL_0(txdesc)
  2315. #define SET_TX_DESC_RDG_EN_8812F(txdesc, value) \
  2316. SET_TX_DESC_RDG_EN(txdesc, value)
  2317. #define GET_TX_DESC_RDG_EN_8812F(txdesc) GET_TX_DESC_RDG_EN(txdesc)
  2318. #define SET_TX_DESC_AGG_EN_8812F(txdesc, value) \
  2319. SET_TX_DESC_AGG_EN(txdesc, value)
  2320. #define GET_TX_DESC_AGG_EN_8812F(txdesc) GET_TX_DESC_AGG_EN(txdesc)
  2321. #define SET_TX_DESC_CCA_RTS_8812F(txdesc, value) \
  2322. SET_TX_DESC_CCA_RTS(txdesc, value)
  2323. #define GET_TX_DESC_CCA_RTS_8812F(txdesc) GET_TX_DESC_CCA_RTS(txdesc)
  2324. #define SET_TX_DESC_TRI_FRAME_8812F(txdesc, value) \
  2325. SET_TX_DESC_TRI_FRAME(txdesc, value)
  2326. #define GET_TX_DESC_TRI_FRAME_8812F(txdesc) GET_TX_DESC_TRI_FRAME(txdesc)
  2327. #define SET_TX_DESC_P_AID_8812F(txdesc, value) SET_TX_DESC_P_AID(txdesc, value)
  2328. #define GET_TX_DESC_P_AID_8812F(txdesc) GET_TX_DESC_P_AID(txdesc)
  2329. /*TXDESC_WORD3*/
  2330. #define SET_TX_DESC_AMPDU_MAX_TIME_8812F(txdesc, value) \
  2331. SET_TX_DESC_AMPDU_MAX_TIME(txdesc, value)
  2332. #define GET_TX_DESC_AMPDU_MAX_TIME_8812F(txdesc) \
  2333. GET_TX_DESC_AMPDU_MAX_TIME(txdesc)
  2334. #define SET_TX_DESC_NDPA_8812F(txdesc, value) SET_TX_DESC_NDPA(txdesc, value)
  2335. #define GET_TX_DESC_NDPA_8812F(txdesc) GET_TX_DESC_NDPA(txdesc)
  2336. #define SET_TX_DESC_MAX_AGG_NUM_8812F(txdesc, value) \
  2337. SET_TX_DESC_MAX_AGG_NUM(txdesc, value)
  2338. #define GET_TX_DESC_MAX_AGG_NUM_8812F(txdesc) GET_TX_DESC_MAX_AGG_NUM(txdesc)
  2339. #define SET_TX_DESC_USE_MAX_TIME_EN_8812F(txdesc, value) \
  2340. SET_TX_DESC_USE_MAX_TIME_EN(txdesc, value)
  2341. #define GET_TX_DESC_USE_MAX_TIME_EN_8812F(txdesc) \
  2342. GET_TX_DESC_USE_MAX_TIME_EN(txdesc)
  2343. #define SET_TX_DESC_NAVUSEHDR_8812F(txdesc, value) \
  2344. SET_TX_DESC_NAVUSEHDR(txdesc, value)
  2345. #define GET_TX_DESC_NAVUSEHDR_8812F(txdesc) GET_TX_DESC_NAVUSEHDR(txdesc)
  2346. #define SET_TX_DESC_CHK_EN_8812F(txdesc, value) \
  2347. SET_TX_DESC_CHK_EN(txdesc, value)
  2348. #define GET_TX_DESC_CHK_EN_8812F(txdesc) GET_TX_DESC_CHK_EN(txdesc)
  2349. #define SET_TX_DESC_HW_RTS_EN_8812F(txdesc, value) \
  2350. SET_TX_DESC_HW_RTS_EN(txdesc, value)
  2351. #define GET_TX_DESC_HW_RTS_EN_8812F(txdesc) GET_TX_DESC_HW_RTS_EN(txdesc)
  2352. #define SET_TX_DESC_RTSEN_8812F(txdesc, value) SET_TX_DESC_RTSEN(txdesc, value)
  2353. #define GET_TX_DESC_RTSEN_8812F(txdesc) GET_TX_DESC_RTSEN(txdesc)
  2354. #define SET_TX_DESC_CTS2SELF_8812F(txdesc, value) \
  2355. SET_TX_DESC_CTS2SELF(txdesc, value)
  2356. #define GET_TX_DESC_CTS2SELF_8812F(txdesc) GET_TX_DESC_CTS2SELF(txdesc)
  2357. #define SET_TX_DESC_DISDATAFB_8812F(txdesc, value) \
  2358. SET_TX_DESC_DISDATAFB(txdesc, value)
  2359. #define GET_TX_DESC_DISDATAFB_8812F(txdesc) GET_TX_DESC_DISDATAFB(txdesc)
  2360. #define SET_TX_DESC_DISRTSFB_8812F(txdesc, value) \
  2361. SET_TX_DESC_DISRTSFB(txdesc, value)
  2362. #define GET_TX_DESC_DISRTSFB_8812F(txdesc) GET_TX_DESC_DISRTSFB(txdesc)
  2363. #define SET_TX_DESC_USE_RATE_8812F(txdesc, value) \
  2364. SET_TX_DESC_USE_RATE(txdesc, value)
  2365. #define GET_TX_DESC_USE_RATE_8812F(txdesc) GET_TX_DESC_USE_RATE(txdesc)
  2366. #define SET_TX_DESC_HW_SSN_SEL_8812F(txdesc, value) \
  2367. SET_TX_DESC_HW_SSN_SEL(txdesc, value)
  2368. #define GET_TX_DESC_HW_SSN_SEL_8812F(txdesc) GET_TX_DESC_HW_SSN_SEL(txdesc)
  2369. #define SET_TX_DESC_WHEADER_LEN_8812F(txdesc, value) \
  2370. SET_TX_DESC_WHEADER_LEN(txdesc, value)
  2371. #define GET_TX_DESC_WHEADER_LEN_8812F(txdesc) GET_TX_DESC_WHEADER_LEN(txdesc)
  2372. /*TXDESC_WORD4*/
  2373. #define SET_TX_DESC_PCTS_MASK_IDX_8812F(txdesc, value) \
  2374. SET_TX_DESC_PCTS_MASK_IDX(txdesc, value)
  2375. #define GET_TX_DESC_PCTS_MASK_IDX_8812F(txdesc) \
  2376. GET_TX_DESC_PCTS_MASK_IDX(txdesc)
  2377. #define SET_TX_DESC_PCTS_EN_8812F(txdesc, value) \
  2378. SET_TX_DESC_PCTS_EN(txdesc, value)
  2379. #define GET_TX_DESC_PCTS_EN_8812F(txdesc) GET_TX_DESC_PCTS_EN(txdesc)
  2380. #define SET_TX_DESC_RTSRATE_8812F(txdesc, value) \
  2381. SET_TX_DESC_RTSRATE(txdesc, value)
  2382. #define GET_TX_DESC_RTSRATE_8812F(txdesc) GET_TX_DESC_RTSRATE(txdesc)
  2383. #define SET_TX_DESC_RTS_DATA_RTY_LMT_8812F(txdesc, value) \
  2384. SET_TX_DESC_RTS_DATA_RTY_LMT(txdesc, value)
  2385. #define GET_TX_DESC_RTS_DATA_RTY_LMT_8812F(txdesc) \
  2386. GET_TX_DESC_RTS_DATA_RTY_LMT(txdesc)
  2387. #define SET_TX_DESC_RTY_LMT_EN_8812F(txdesc, value) \
  2388. SET_TX_DESC_RTY_LMT_EN(txdesc, value)
  2389. #define GET_TX_DESC_RTY_LMT_EN_8812F(txdesc) GET_TX_DESC_RTY_LMT_EN(txdesc)
  2390. #define SET_TX_DESC_RTS_RTY_LOWEST_RATE_8812F(txdesc, value) \
  2391. SET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc, value)
  2392. #define GET_TX_DESC_RTS_RTY_LOWEST_RATE_8812F(txdesc) \
  2393. GET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc)
  2394. #define SET_TX_DESC_DATA_RTY_LOWEST_RATE_8812F(txdesc, value) \
  2395. SET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc, value)
  2396. #define GET_TX_DESC_DATA_RTY_LOWEST_RATE_8812F(txdesc) \
  2397. GET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc)
  2398. #define SET_TX_DESC_TRY_RATE_8812F(txdesc, value) \
  2399. SET_TX_DESC_TRY_RATE(txdesc, value)
  2400. #define GET_TX_DESC_TRY_RATE_8812F(txdesc) GET_TX_DESC_TRY_RATE(txdesc)
  2401. #define SET_TX_DESC_DATARATE_8812F(txdesc, value) \
  2402. SET_TX_DESC_DATARATE(txdesc, value)
  2403. #define GET_TX_DESC_DATARATE_8812F(txdesc) GET_TX_DESC_DATARATE(txdesc)
  2404. /*TXDESC_WORD5*/
  2405. #define SET_TX_DESC_POLLUTED_8812F(txdesc, value) \
  2406. SET_TX_DESC_POLLUTED(txdesc, value)
  2407. #define GET_TX_DESC_POLLUTED_8812F(txdesc) GET_TX_DESC_POLLUTED(txdesc)
  2408. #define SET_TX_DESC_ANTSEL_EN_8812F(txdesc, value) \
  2409. SET_TX_DESC_ANTSEL_EN_V1(txdesc, value)
  2410. #define GET_TX_DESC_ANTSEL_EN_8812F(txdesc) GET_TX_DESC_ANTSEL_EN_V1(txdesc)
  2411. #define SET_TX_DESC_TXPWR_OFSET_TYPE_8812F(txdesc, value) \
  2412. SET_TX_DESC_TXPWR_OFSET_TYPE(txdesc, value)
  2413. #define GET_TX_DESC_TXPWR_OFSET_TYPE_8812F(txdesc) \
  2414. GET_TX_DESC_TXPWR_OFSET_TYPE(txdesc)
  2415. #define SET_TX_DESC_TX_ANT_8812F(txdesc, value) \
  2416. SET_TX_DESC_TX_ANT(txdesc, value)
  2417. #define GET_TX_DESC_TX_ANT_8812F(txdesc) GET_TX_DESC_TX_ANT(txdesc)
  2418. #define SET_TX_DESC_PORT_ID_8812F(txdesc, value) \
  2419. SET_TX_DESC_PORT_ID(txdesc, value)
  2420. #define GET_TX_DESC_PORT_ID_8812F(txdesc) GET_TX_DESC_PORT_ID(txdesc)
  2421. #define SET_TX_DESC_MULTIPLE_PORT_8812F(txdesc, value) \
  2422. SET_TX_DESC_MULTIPLE_PORT(txdesc, value)
  2423. #define GET_TX_DESC_MULTIPLE_PORT_8812F(txdesc) \
  2424. GET_TX_DESC_MULTIPLE_PORT(txdesc)
  2425. #define SET_TX_DESC_SIGNALING_TAPKT_EN_8812F(txdesc, value) \
  2426. SET_TX_DESC_SIGNALING_TAPKT_EN(txdesc, value)
  2427. #define GET_TX_DESC_SIGNALING_TAPKT_EN_8812F(txdesc) \
  2428. GET_TX_DESC_SIGNALING_TAPKT_EN(txdesc)
  2429. #define SET_TX_DESC_SIGNALING_TA_PKT_SC_8812F(txdesc, value) \
  2430. SET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc, value)
  2431. #define GET_TX_DESC_SIGNALING_TA_PKT_SC_8812F(txdesc) \
  2432. GET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc)
  2433. #define SET_TX_DESC_RTS_SHORT_8812F(txdesc, value) \
  2434. SET_TX_DESC_RTS_SHORT(txdesc, value)
  2435. #define GET_TX_DESC_RTS_SHORT_8812F(txdesc) GET_TX_DESC_RTS_SHORT(txdesc)
  2436. #define SET_TX_DESC_VCS_STBC_8812F(txdesc, value) \
  2437. SET_TX_DESC_VCS_STBC(txdesc, value)
  2438. #define GET_TX_DESC_VCS_STBC_8812F(txdesc) GET_TX_DESC_VCS_STBC(txdesc)
  2439. #define SET_TX_DESC_DATA_STBC_8812F(txdesc, value) \
  2440. SET_TX_DESC_DATA_STBC(txdesc, value)
  2441. #define GET_TX_DESC_DATA_STBC_8812F(txdesc) GET_TX_DESC_DATA_STBC(txdesc)
  2442. #define SET_TX_DESC_DATA_LDPC_8812F(txdesc, value) \
  2443. SET_TX_DESC_DATA_LDPC(txdesc, value)
  2444. #define GET_TX_DESC_DATA_LDPC_8812F(txdesc) GET_TX_DESC_DATA_LDPC(txdesc)
  2445. #define SET_TX_DESC_DATA_BW_8812F(txdesc, value) \
  2446. SET_TX_DESC_DATA_BW(txdesc, value)
  2447. #define GET_TX_DESC_DATA_BW_8812F(txdesc) GET_TX_DESC_DATA_BW(txdesc)
  2448. #define SET_TX_DESC_DATA_SHORT_8812F(txdesc, value) \
  2449. SET_TX_DESC_DATA_SHORT(txdesc, value)
  2450. #define GET_TX_DESC_DATA_SHORT_8812F(txdesc) GET_TX_DESC_DATA_SHORT(txdesc)
  2451. #define SET_TX_DESC_DATA_SC_8812F(txdesc, value) \
  2452. SET_TX_DESC_DATA_SC(txdesc, value)
  2453. #define GET_TX_DESC_DATA_SC_8812F(txdesc) GET_TX_DESC_DATA_SC(txdesc)
  2454. /*TXDESC_WORD6*/
  2455. #define SET_TX_DESC_ANTSEL_D_8812F(txdesc, value) \
  2456. SET_TX_DESC_ANTSEL_D(txdesc, value)
  2457. #define GET_TX_DESC_ANTSEL_D_8812F(txdesc) GET_TX_DESC_ANTSEL_D(txdesc)
  2458. #define SET_TX_DESC_ANT_MAPD_8812F(txdesc, value) \
  2459. SET_TX_DESC_ANT_MAPD(txdesc, value)
  2460. #define GET_TX_DESC_ANT_MAPD_8812F(txdesc) GET_TX_DESC_ANT_MAPD(txdesc)
  2461. #define SET_TX_DESC_ANT_MAPC_8812F(txdesc, value) \
  2462. SET_TX_DESC_ANT_MAPC(txdesc, value)
  2463. #define GET_TX_DESC_ANT_MAPC_8812F(txdesc) GET_TX_DESC_ANT_MAPC(txdesc)
  2464. #define SET_TX_DESC_ANT_MAPB_8812F(txdesc, value) \
  2465. SET_TX_DESC_ANT_MAPB(txdesc, value)
  2466. #define GET_TX_DESC_ANT_MAPB_8812F(txdesc) GET_TX_DESC_ANT_MAPB(txdesc)
  2467. #define SET_TX_DESC_ANT_MAPA_8812F(txdesc, value) \
  2468. SET_TX_DESC_ANT_MAPA(txdesc, value)
  2469. #define GET_TX_DESC_ANT_MAPA_8812F(txdesc) GET_TX_DESC_ANT_MAPA(txdesc)
  2470. #define SET_TX_DESC_ANTSEL_C_8812F(txdesc, value) \
  2471. SET_TX_DESC_ANTSEL_C(txdesc, value)
  2472. #define GET_TX_DESC_ANTSEL_C_8812F(txdesc) GET_TX_DESC_ANTSEL_C(txdesc)
  2473. #define SET_TX_DESC_ANTSEL_B_8812F(txdesc, value) \
  2474. SET_TX_DESC_ANTSEL_B(txdesc, value)
  2475. #define GET_TX_DESC_ANTSEL_B_8812F(txdesc) GET_TX_DESC_ANTSEL_B(txdesc)
  2476. #define SET_TX_DESC_ANTSEL_A_8812F(txdesc, value) \
  2477. SET_TX_DESC_ANTSEL_A(txdesc, value)
  2478. #define GET_TX_DESC_ANTSEL_A_8812F(txdesc) GET_TX_DESC_ANTSEL_A(txdesc)
  2479. #define SET_TX_DESC_MBSSID_8812F(txdesc, value) \
  2480. SET_TX_DESC_MBSSID(txdesc, value)
  2481. #define GET_TX_DESC_MBSSID_8812F(txdesc) GET_TX_DESC_MBSSID(txdesc)
  2482. #define SET_TX_DESC_SW_DEFINE_8812F(txdesc, value) \
  2483. SET_TX_DESC_SW_DEFINE(txdesc, value)
  2484. #define GET_TX_DESC_SW_DEFINE_8812F(txdesc) GET_TX_DESC_SW_DEFINE(txdesc)
  2485. /*TXDESC_WORD7*/
  2486. #define SET_TX_DESC_DMA_TXAGG_NUM_8812F(txdesc, value) \
  2487. SET_TX_DESC_DMA_TXAGG_NUM(txdesc, value)
  2488. #define GET_TX_DESC_DMA_TXAGG_NUM_8812F(txdesc) \
  2489. GET_TX_DESC_DMA_TXAGG_NUM(txdesc)
  2490. #define SET_TX_DESC_FINAL_DATA_RATE_8812F(txdesc, value) \
  2491. SET_TX_DESC_FINAL_DATA_RATE(txdesc, value)
  2492. #define GET_TX_DESC_FINAL_DATA_RATE_8812F(txdesc) \
  2493. GET_TX_DESC_FINAL_DATA_RATE(txdesc)
  2494. #define SET_TX_DESC_NTX_MAP_8812F(txdesc, value) \
  2495. SET_TX_DESC_NTX_MAP(txdesc, value)
  2496. #define GET_TX_DESC_NTX_MAP_8812F(txdesc) GET_TX_DESC_NTX_MAP(txdesc)
  2497. #define SET_TX_DESC_TX_BUFF_SIZE_8812F(txdesc, value) \
  2498. SET_TX_DESC_TX_BUFF_SIZE(txdesc, value)
  2499. #define GET_TX_DESC_TX_BUFF_SIZE_8812F(txdesc) GET_TX_DESC_TX_BUFF_SIZE(txdesc)
  2500. #define SET_TX_DESC_TXDESC_CHECKSUM_8812F(txdesc, value) \
  2501. SET_TX_DESC_TXDESC_CHECKSUM(txdesc, value)
  2502. #define GET_TX_DESC_TXDESC_CHECKSUM_8812F(txdesc) \
  2503. GET_TX_DESC_TXDESC_CHECKSUM(txdesc)
  2504. #define SET_TX_DESC_TIMESTAMP_8812F(txdesc, value) \
  2505. SET_TX_DESC_TIMESTAMP(txdesc, value)
  2506. #define GET_TX_DESC_TIMESTAMP_8812F(txdesc) GET_TX_DESC_TIMESTAMP(txdesc)
  2507. /*TXDESC_WORD8*/
  2508. #define SET_TX_DESC_TXWIFI_CP_8812F(txdesc, value) \
  2509. SET_TX_DESC_TXWIFI_CP(txdesc, value)
  2510. #define GET_TX_DESC_TXWIFI_CP_8812F(txdesc) GET_TX_DESC_TXWIFI_CP(txdesc)
  2511. #define SET_TX_DESC_MAC_CP_8812F(txdesc, value) \
  2512. SET_TX_DESC_MAC_CP(txdesc, value)
  2513. #define GET_TX_DESC_MAC_CP_8812F(txdesc) GET_TX_DESC_MAC_CP(txdesc)
  2514. #define SET_TX_DESC_STW_PKTRE_DIS_8812F(txdesc, value) \
  2515. SET_TX_DESC_STW_PKTRE_DIS(txdesc, value)
  2516. #define GET_TX_DESC_STW_PKTRE_DIS_8812F(txdesc) \
  2517. GET_TX_DESC_STW_PKTRE_DIS(txdesc)
  2518. #define SET_TX_DESC_STW_RB_DIS_8812F(txdesc, value) \
  2519. SET_TX_DESC_STW_RB_DIS(txdesc, value)
  2520. #define GET_TX_DESC_STW_RB_DIS_8812F(txdesc) GET_TX_DESC_STW_RB_DIS(txdesc)
  2521. #define SET_TX_DESC_STW_RATE_DIS_8812F(txdesc, value) \
  2522. SET_TX_DESC_STW_RATE_DIS(txdesc, value)
  2523. #define GET_TX_DESC_STW_RATE_DIS_8812F(txdesc) GET_TX_DESC_STW_RATE_DIS(txdesc)
  2524. #define SET_TX_DESC_STW_ANT_DIS_8812F(txdesc, value) \
  2525. SET_TX_DESC_STW_ANT_DIS(txdesc, value)
  2526. #define GET_TX_DESC_STW_ANT_DIS_8812F(txdesc) GET_TX_DESC_STW_ANT_DIS(txdesc)
  2527. #define SET_TX_DESC_STW_EN_8812F(txdesc, value) \
  2528. SET_TX_DESC_STW_EN(txdesc, value)
  2529. #define GET_TX_DESC_STW_EN_8812F(txdesc) GET_TX_DESC_STW_EN(txdesc)
  2530. #define SET_TX_DESC_SMH_EN_8812F(txdesc, value) \
  2531. SET_TX_DESC_SMH_EN(txdesc, value)
  2532. #define GET_TX_DESC_SMH_EN_8812F(txdesc) GET_TX_DESC_SMH_EN(txdesc)
  2533. #define SET_TX_DESC_TAILPAGE_L_8812F(txdesc, value) \
  2534. SET_TX_DESC_TAILPAGE_L(txdesc, value)
  2535. #define GET_TX_DESC_TAILPAGE_L_8812F(txdesc) GET_TX_DESC_TAILPAGE_L(txdesc)
  2536. #define SET_TX_DESC_SDIO_DMASEQ_8812F(txdesc, value) \
  2537. SET_TX_DESC_SDIO_DMASEQ(txdesc, value)
  2538. #define GET_TX_DESC_SDIO_DMASEQ_8812F(txdesc) GET_TX_DESC_SDIO_DMASEQ(txdesc)
  2539. #define SET_TX_DESC_NEXTHEADPAGE_L_8812F(txdesc, value) \
  2540. SET_TX_DESC_NEXTHEADPAGE_L(txdesc, value)
  2541. #define GET_TX_DESC_NEXTHEADPAGE_L_8812F(txdesc) \
  2542. GET_TX_DESC_NEXTHEADPAGE_L(txdesc)
  2543. #define SET_TX_DESC_EN_HWSEQ_MODE_8812F(txdesc, value) \
  2544. SET_TX_DESC_EN_HWSEQ_MODE(txdesc, value)
  2545. #define GET_TX_DESC_EN_HWSEQ_MODE_8812F(txdesc) \
  2546. GET_TX_DESC_EN_HWSEQ_MODE(txdesc)
  2547. #define SET_TX_DESC_DATA_RC_8812F(txdesc, value) \
  2548. SET_TX_DESC_DATA_RC(txdesc, value)
  2549. #define GET_TX_DESC_DATA_RC_8812F(txdesc) GET_TX_DESC_DATA_RC(txdesc)
  2550. #define SET_TX_DESC_BAR_RTY_TH_8812F(txdesc, value) \
  2551. SET_TX_DESC_BAR_RTY_TH(txdesc, value)
  2552. #define GET_TX_DESC_BAR_RTY_TH_8812F(txdesc) GET_TX_DESC_BAR_RTY_TH(txdesc)
  2553. #define SET_TX_DESC_RTS_RC_8812F(txdesc, value) \
  2554. SET_TX_DESC_RTS_RC(txdesc, value)
  2555. #define GET_TX_DESC_RTS_RC_8812F(txdesc) GET_TX_DESC_RTS_RC(txdesc)
  2556. /*TXDESC_WORD9*/
  2557. #define SET_TX_DESC_TAILPAGE_H_8812F(txdesc, value) \
  2558. SET_TX_DESC_TAILPAGE_H(txdesc, value)
  2559. #define GET_TX_DESC_TAILPAGE_H_8812F(txdesc) GET_TX_DESC_TAILPAGE_H(txdesc)
  2560. #define SET_TX_DESC_NEXTHEADPAGE_H_8812F(txdesc, value) \
  2561. SET_TX_DESC_NEXTHEADPAGE_H(txdesc, value)
  2562. #define GET_TX_DESC_NEXTHEADPAGE_H_8812F(txdesc) \
  2563. GET_TX_DESC_NEXTHEADPAGE_H(txdesc)
  2564. #define SET_TX_DESC_SW_SEQ_8812F(txdesc, value) \
  2565. SET_TX_DESC_SW_SEQ(txdesc, value)
  2566. #define GET_TX_DESC_SW_SEQ_8812F(txdesc) GET_TX_DESC_SW_SEQ(txdesc)
  2567. #define SET_TX_DESC_TXBF_PATH_8812F(txdesc, value) \
  2568. SET_TX_DESC_TXBF_PATH(txdesc, value)
  2569. #define GET_TX_DESC_TXBF_PATH_8812F(txdesc) GET_TX_DESC_TXBF_PATH(txdesc)
  2570. #define SET_TX_DESC_PADDING_LEN_8812F(txdesc, value) \
  2571. SET_TX_DESC_PADDING_LEN(txdesc, value)
  2572. #define GET_TX_DESC_PADDING_LEN_8812F(txdesc) GET_TX_DESC_PADDING_LEN(txdesc)
  2573. #define SET_TX_DESC_GROUP_BIT_IE_OFFSET_8812F(txdesc, value) \
  2574. SET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc, value)
  2575. #define GET_TX_DESC_GROUP_BIT_IE_OFFSET_8812F(txdesc) \
  2576. GET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc)
  2577. /*WORD10*/
  2578. #define SET_TX_DESC_HT_DATA_SND_8812F(txdesc, value) \
  2579. SET_TX_DESC_HT_DATA_SND(txdesc, value)
  2580. #define GET_TX_DESC_HT_DATA_SND_8812F(txdesc) GET_TX_DESC_HT_DATA_SND(txdesc)
  2581. #define SET_TX_DESC_SHCUT_CAM_8812F(txdesc, value) \
  2582. SET_TX_DESC_SHCUT_CAM(txdesc, value)
  2583. #define GET_TX_DESC_SHCUT_CAM_8812F(txdesc) GET_TX_DESC_SHCUT_CAM(txdesc)
  2584. #define SET_TX_DESC_MU_DATARATE_8812F(txdesc, value) \
  2585. SET_TX_DESC_MU_DATARATE(txdesc, value)
  2586. #define GET_TX_DESC_MU_DATARATE_8812F(txdesc) GET_TX_DESC_MU_DATARATE(txdesc)
  2587. #define SET_TX_DESC_MU_RC_8812F(txdesc, value) SET_TX_DESC_MU_RC(txdesc, value)
  2588. #define GET_TX_DESC_MU_RC_8812F(txdesc) GET_TX_DESC_MU_RC(txdesc)
  2589. #define SET_TX_DESC_NDPA_RATE_SEL_8812F(txdesc, value) \
  2590. SET_TX_DESC_NDPA_RATE_SEL(txdesc, value)
  2591. #define GET_TX_DESC_NDPA_RATE_SEL_8812F(txdesc) \
  2592. GET_TX_DESC_NDPA_RATE_SEL(txdesc)
  2593. #define SET_TX_DESC_HW_NDPA_EN_8812F(txdesc, value) \
  2594. SET_TX_DESC_HW_NDPA_EN(txdesc, value)
  2595. #define GET_TX_DESC_HW_NDPA_EN_8812F(txdesc) GET_TX_DESC_HW_NDPA_EN(txdesc)
  2596. #define SET_TX_DESC_SND_PKT_SEL_8812F(txdesc, value) \
  2597. SET_TX_DESC_SND_PKT_SEL(txdesc, value)
  2598. #define GET_TX_DESC_SND_PKT_SEL_8812F(txdesc) GET_TX_DESC_SND_PKT_SEL(txdesc)
  2599. #endif
  2600. #endif