From the older wistani, from Arabic وَسْطانِيّ (wasṭāniyy), altered after related fost (“among”), which see. By surface analysis, fost + -ani.
fustani (feminine singular fustanija, plural fustanija)